[ejabberd] 10MB per BOSH connection on 2.1.1
anton.belyaev at gmail.com
Fri Feb 12 12:44:39 MSK 2010
2010/2/12 Pablo Platt <pablo.platt at yahoo.com>:
> I'm running ejabberd 2.1.1
> With only 30 online (real) BOSH connections ejabberd consume 266MB RAM
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 4620 root 20 0 692m 266m 1868 S 0 52.0
> 780:25.91 beam.smp
> When I have 120 online users ejabberd takes all the free RAM.
> I'm using the default config file.
> Users are only sending text with BOSH, no file transfer or images.
> Is there something I can do to reduce the memory?
I was never happy with ejabberd's BOSH.
I use http://code.stanziq.com/punjab/ in front of ejabberd for BOSH.
With 1000 online BOSH users punjab takes 200 MB, plus ~300k per
connection on ejabberd's side.
More information about the ejabberd