SOMAXCONN impact on number of concurrent users?

Does anyone know if SOMAXCONN has an impact on the number of concurrent users for ejabberd?

We've set up ulimit to be high, but are not sure if the TCP/IP connection limits will hurt us.

Thanks!

What is this

What is this "SOMAXCONN"?

--
sander

It's a TCP/IP-related system parameter

In our case we're using Centos 2.4 (Linux 2.6 kernel) and wondering if having this parameter set to 1024 would limit the number of concurrent users to 1024.

I don't know about this

I don't know about this parameter, but on Debian unstable with Linux 2.6.11, ulimit -n 1024 allows around 1024 users. I just need to increment this and the problem is solved.

In fact, don't forget that connections are consumed by client-to-server and by server-to-server connections.

amount of concurrents users

Hello, I use Debian Sarge 3.1 can any body tell me the limits of concurrets users ejabberd can be hold...?

There are soft limits (max

There are soft limits (max processes, max connections...) that can be modified (check the 'performance tunning' and 'benchmark' pages).

I think there's also a limit in concurrent changes in the Mnesia database allowed (some millions, I think) that can't be modified.

However, long before you get any other limitation, you will run out of CPU or RAM. And it may be that both types of limitations can be overcome using clustering: there's a well known ejabberd server with 22000 concurrent users (out of 210000 accounts registered) in real world conditions (it is not a benchmark).

Syndicate content