[ejabberd] Ejabberd freezing randomly

Taner Taş taner at pardus.org.tr
Wed Apr 29 22:36:26 MSD 2009

I have weird problem with my ejabberd installation. Service freezes
randomly without any dump file or helping log message. No connection
through web interface or through jabber-port is possible.

I have realized some strange stiuation while running process command below
(# /erlang/erts-5.6.5/bin/beam.smp -- -root ...) on console. During
problem occurs again, i suspended process with ctrl-Z then send it to
background with "bg". After calling the process to foreground with "fg",
ejabberd came alive without cancel-restart operation. I'm not shure is it
related with erlang or ejabberd.

Ejabberd version: 2.0.5
Erlang version: 12B5

My process output (ps aux|grep erl):

root       803  0.0  0.0   1804   308 ?        S    Apr26   0:00
/usr/lib/erlang/erts-5.6.5/bin/epmd -daemon

root     19099  0.0  0.6 117164 55964 pts/3    Sl+  08:15   0:32
/usr/lib/erlang/erts-5.6.5/bin/beam.smp -- -root /usr/lib/erlang -progname
erl -- -home /root -pa /usr/lib/erlang/lib/ejabberd-2.0.5/ebin -sname
ejabberd -s ejabberd -ejabberd config "/etc/jabber/ejabberd.cfg" log_path
"/var/log/jabber/ejabberd.log" -mnesia dir "/var/lib/jabber/spool" -kernel
inetrc "/etc/jabber/inetrc"

Listening port section of my config file:


% Listened ports:
 [{5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper},
                            {max_stanza_size, 65536},
                            starttls, {certfile, "/etc/jabber/ssl.pem"}]},
  {5223, ejabberd_c2s,     [{access, c2s},
                            {max_stanza_size, 65536},
                            tls, {certfile, "/etc/jabber/ssl.pem"}]},
  % Use these two lines instead if TLS support is not compiled
  %{5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper}]},
  %{5223, ejabberd_c2s,     [{access, c2s}, ssl, {certfile,
  {5269, ejabberd_s2s_in,  [{shaper, s2s_shaper},
                            {max_stanza_size, 131072}
  {5280, ejabberd_http,    [http_poll, web_admin]},
  {8888, ejabberd_service, [{access, all},
                            {hosts, ["icq.jabber.pardus.org.tr",
                             [{password, "secret"}]}]}

% Use STARTTLS+Dialback for S2S connections
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/jabber/ssl.pem"}.

% If SRV lookup fails, then port 5269 is used to communicate with remote
{outgoing_s2s_port, 5269}.

Thank you.

More information about the ejabberd mailing list