ejabber crash after 1004 account

Hi,

I develop a base client with gloox library to perform multiple connection to my ejabberd server, but when I connect more of 1004 client to server, it go down.

I have installed ejabberd 2.1.2-2 in a ubuntu-server 10.04 at 64 bit(XEON 4 core with 4gb RAM), with deb packages, edit /etc/security/limits.conf
with :

ejabberd soft nofile 65535
ejabberd hard nofile 65535

when I start ejabberd I give it that parameter:

POLL=true
SMP=enable
PROCESSES=250000
ERL_MAX_PORTS=32000
ERL_MAX_ETS_TABLES=20000
ERLANG_NODE=ejabberd

export ERL_CRASH_DUMP
export ERL_MAX_PORTS
export ERL_MAX_ETS_TABLES
export ERL_FULLSWEEP_AFTER
export EJABBERD_PID_PATH

by editing /usr/sbin/ejabberd

what I can do to increase the performance?

cheers
Andrew

Re: ejabber crash after 1004 account

You didn't provide useful info actually. What is in ejabberd.log? What is in erlang.log/sasl.log? What is a slogan of the crash dump (`head -n 5 erl_crash.dump`)?

fixed on ubuntu the service

fixed

on ubuntu the service in started with sudo su ejabberd ecc... but the default behaviour will set the default value,
I must edit the file /etc/pam.d/su and enable the line 53

# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# (Replaces the use of /etc/limits in old login)
session required pam_limits.so

cheers
Andrew

Syndicate content