|
|
| Author |
Message |
|
| Guest |
Posted: Wed Oct 11, 2006 8:34 am |
|
|
|
Guest
|
Hi,
I'm trying to run some benchmarks using Jabsimul as per the guide at
http://ejabberd.jabber.ru/benchmark. I am running ejabberd 1.1.1 on a
CentOS 4.x box (stock kernel 2.6.9) on erlang R11B. I have set a
ulimit of 10000 for ejabberd and 16000 for the shell where I'm
running Jabsimul. A cat on /proc/sys/kernel/file-max gives 25078. I
am using the stock CentOS PostgreSQL 7.4.13 as the Wildfire data
storage and the stock OpenLDAP 2.2.13 for authentication.
I am trying to benchmark 1500 simultaneous connections. Jabsimul goes
up to about 1030-1040 connections (I can't see the exact number
because it changes very rapidly) and then starts getting "Connection
reset by peer" errors. The number of established connections then
continues to go up to about 1240-1250 and then oscillates but with a
general downward trend.
Any ideas what might be going wrong and how to fix it?
Thanks,
-Mario.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 11, 2006 8:38 am |
|
|
|
Guest
|
Mario Camou R :
> Hi,
>
> I'm trying to run some benchmarks using Jabsimul as per the guide at
> http://ejabberd.jabber.ru/benchmark. I am running ejabberd 1.1.1 on a
> CentOS 4.x box (stock kernel 2.6.9) on erlang R11B. I have set a
> ulimit of 10000 for ejabberd and 16000 for the shell where I'm running
> Jabsimul. A cat on /proc/sys/kernel/file-max gives 25078. I am using
> the stock CentOS PostgreSQL 7.4.13 as the Wildfire data storage and
> the stock OpenLDAP 2.2.13 for authentication.
>
> I am trying to benchmark 1500 simultaneous connections. Jabsimul goes
> up to about 1030-1040 connections (I can't see the exact number
> because it changes very rapidly) and then starts getting "Connection
> reset by peer" errors. The number of established connections then
> continues to go up to about 1240-1250 and then oscillates but with a
> general downward trend.
>
> Any ideas what might be going wrong and how to fix it?
>
> Thanks,
> -Mario.
>
Lucky you'are!
when I try to compile Jabsimul (http://ejabberd.jabber.ru/benchmark)
I have an error when I run make command. Which depencies to compile
jabsimul ?
Cheers,
Benjamin
--
Benjamin Baudouin
Ing |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 11, 2006 12:27 pm |
|
|
|
Guest
|
Mario Camou R пишет:
> I'm trying to run some benchmarks using Jabsimul as per the guide at
> http://ejabberd.jabber.ru/benchmark. I am running ejabberd 1.1.1 on a
> CentOS 4.x box (stock kernel 2.6.9) on erlang R11B. I have set a
> ulimit of 10000 for ejabberd and 16000 for the shell where I'm running
> Jabsimul. A cat on /proc/sys/kernel/file-max gives 25078. I am using
> the stock CentOS PostgreSQL 7.4.13 as the Wildfire data storage and
> the stock OpenLDAP 2.2.13 for authentication.
>
> I am trying to benchmark 1500 simultaneous connections. Jabsimul goes
> up to about 1030-1040 connections (I can't see the exact number
> because it changes very rapidly) and then starts getting "Connection
> reset by peer" errors. The number of established connections then
> continues to go up to about 1240-1250 and then oscillates but with a
> general downward trend.
Do you have any errors in ejabberd's logs? Did you try another auth_type
(not ldap)?
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 11, 2006 6:13 pm |
|
|
|
Guest
|
Hi,
Sorry if this message reaches the list twice, I've been having
trouble with my SMTP server.
I'm trying to run some benchmarks using Jabsimul as per the guide at
http://ejabberd.jabber.ru/benchmark. I am running ejabberd 1.1.1 on a
CentOS 4.x box (stock kernel 2.6.9) on erlang R11B. I have set a
ulimit of 10000 for ejabberd and 16000 for the shell where I'm
running Jabsimul. A cat on /proc/sys/kernel/file-max gives 25078. I
am using the stock CentOS PostgreSQL 7.4.13 as the Wildfire data
storage and the stock OpenLDAP 2.2.13 for authentication.
I am trying to benchmark 1500 simultaneous connections. Jabsimul goes
up to about 1030-1040 connections (I can't see the exact number
because it changes very rapidly) and then starts getting "Connection
reset by peer" errors. The number of established connections then
continues to go up to about 1240-1250 and then oscillates but with a
general downward trend.
Any ideas what might be going wrong and how to fix it?
Thanks,
-Mario.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Oct 13, 2006 4:13 am |
|
|
|
Guest
|
Mario Camou R пишет:
> I am trying to benchmark 1500 simultaneous connections. Jabsimul goes
> up to about 1030-1040 connections (I can't see the exact number
> because it changes very rapidly) and then starts getting "Connection
> reset by peer" errors. The number of established connections then
> continues to go up to about 1240-1250 and then oscillates but with a
> general downward trend.
Hmm, looks like I've found a bug. It is located in ejabberd_auth_ldap.erl:
-define(REPLY_TIMEOUT, 10000).
...
check_password(User, Server, Password) ->
Proc = gen_mod:get_module_proc(Server, ?MODULE),
case catch gen_server:call(Proc,
{check_pass, User, Password}, ?REPLY_TIMEOUT) of
{'EXIT', _} ->
false;
Result ->
Result
end.
ejabberd_auth_ldap process gets flood of the {check_pass, User,
Password} messages which it can't process immediately, and REPLY_TIMEOUT
expires in this case.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|