[jadmin] max concurrent connections under jabber1.4?

Malone, Pat pat.malone at lsi.com
Tue Mar 13 16:52:00 CDT 2007


Thanks much for the response.

I'm working on testing the jadc2s component and will publish my results.

Pat
 

-----Original Message-----
From: jadmin-bounces at jabber.org [mailto:jadmin-bounces at jabber.org] On Behalf Of Matthias Wimmer
Sent: Tuesday, March 13, 2007 11:26 AM
To: Jabber server administration list
Subject: Re: [jadmin] max concurrent connections under jabber1.4?

Hi Pat!

Malone, Pat schrieb:
> I set up the jabber testsuite to created and  log in 1000 more users.
> 
> However, the jabber server just stops accepting connections after 1005
> active users.
> No error from jabberd, no errors on the OS, everything just hangs.
> 
> Is there some limitation on pthreads or some other part that I've run
> into?

jabberd14 does not use pthreads but libpth ... but yes, it is a
limitation of libpth, which cannot handle more than 1024 file
descriptors (and therefore not more than 1024 connections).

There are two solutions to work around this problem:

1. If you have more than one IP address available, you can cluster the
client connection manager. The 1024 descriptor limits is by process.
Therefore if you have multiple processes handling the connections, you
can have more than 1024 concurrent users.

2. In any case you could change to jadc2s which is an alternate client
connection manager for jabberd14. This component does not depend on
libpth and therefore is able to handle more than 1024 concurrent
connections. jadc2s is available at http://download.jabberd.org/jadc2s/


Matthias

BTW: Probably the dependancy on libpth will be removed from jabberd14 soon.

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

_______________________________________________
JAdmin mailing list
JAdmin at jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________


More information about the JAdmin mailing list