Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  Problems with ejabberd not allowing more than ~400 connectio

Guest
Posted: Tue Jul 11, 2006 7:52 am Reply with quote
Guest
(I have already solved the problem by migrating to FedoraCore3. But I am still
very interested to hear why this was happening on Debian, so if anyone have
suggestions - please post them)
---------------------------------
Hello.
I'm having a very strange problem with ejabberd: it not allows me to connect
too many clients to it. The exact number varies every time but somewhere
about 300-500 connections ejabberd begins writing crash reports to sasl.log
and not allowing new connections. 'not allowing' may be one of:
1) never respond to the initial header sent by client (in this case beam eats
99.9% CPU)
2) port close as a respont to the header sent by client
3) Sometimes even a complete port close

I have tried both ejabberd-1.0.0 and ejabberd-1.1.1 both debian-built and
built myself - that doesn't make any difference - it continues to behave the
same way.
I tried to change database and switched to mysql (native erlang driver) - it
didn't made any sence either.

Box configuration:
AMD Athlon(tm) 64 Processor 3000+
512Mb RAM
Debian Sarge (i386, not x64!) as top system
chrooted Debian Sid (i386) installation with ejabberd (Sarge have too old
ejabberd).

If anybody have any suggestions - please reply. I'm trying to fix this problem
for about a month already Sad
http://ejabberd.jabber.ru/node/892
The solution that someone proposed there helped to raise the troublesome limit
to ~470 sessions but then problems begins again.

--
Respectfully
Alexey Nezhdanov

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Wed Jul 12, 2006 8:17 pm Reply with quote
Guest
Hi Alexey

did you try another kernel version instead of i386 ???
k7 ???
are you using kernel 2.4 or 2.6 ???

Marcos

--- Alexey Nezhdanov <snake@penza-gsm.ru> escreveu:

> (I have already solved the problem by migrating to
> FedoraCore3. But I am still
> very interested to hear why this was happening on
> Debian, so if anyone have
> suggestions - please post them)
> ---------------------------------
> Hello.
> I'm having a very strange problem with ejabberd: it
> not allows me to connect
> too many clients to it. The exact number varies
> every time but somewhere
> about 300-500 connections ejabberd begins writing
> crash reports to sasl.log
> and not allowing new connections. 'not allowing' may
> be one of:
> 1) never respond to the initial header sent by
> client (in this case beam eats
> 99.9% CPU)
> 2) port close as a respont to the header sent by
> client
> 3) Sometimes even a complete port close
>
> I have tried both ejabberd-1.0.0 and ejabberd-1.1.1
> both debian-built and
> built myself - that doesn't make any difference - it
> continues to behave the
> same way.
> I tried to change database and switched to mysql
> (native erlang driver) - it
> didn't made any sence either.
>
> Box configuration:
> AMD Athlon(tm) 64 Processor 3000+
> 512Mb RAM
> Debian Sarge (i386, not x64!) as top system
> chrooted Debian Sid (i386) installation with
> ejabberd (Sarge have too old
> ejabberd).
>
> If anybody have any suggestions - please reply. I'm
> trying to fix this problem
> for about a month already Sad
> http://ejabberd.jabber.ru/node/892
> The solution that someone proposed there helped to
> raise the troublesome limit
> to ~470 sessions but then problems begins again.
>
> --
> Respectfully
> Alexey Nezhdanov
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>




_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 4:11 am Reply with quote
Guest
On thursday, 13 July 2006 00:16 x wrote:
> Hi Alexey
>
> did you try another kernel version instead of i386 ???
> k7 ???
see below
> are you using kernel 2.4 or 2.6 ???
Linux version 2.6.8-2-686 (horms@tabatha.lab.ultramonkey.org) (gcc version
3.3.5 (Debian 1:3.3.5-13)) #1 Tue Aug 16 13:22:48 UTC 2005
> Marcos

Actually ermine already suggested that I should first tune up my configuration
according to this page:
http://ejabberd.jabber.ru/tuning

I'll try it first. Though since my [chrooted] FC3 installation runs ejabberd
well that can happen not very soon Sad

--
Respectfully
Alexey Nezhdanov

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum