[ejabberd] ejabberd stability problem

Michael Hora michael at hora.sk
Mon Dec 4 14:49:20 MSK 2006


Hello.

>  could you check if the crash still happen without the gateways 
> (turned of from config files) ?
all services I have turned off in config file

> By the way, could you also replace ssl keyword in your config file by 
> tls ?
 
ssl -> tls changed
  {5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper}]},
  {5223, ejabberd_c2s,     [{access, c2s}, tls, {certfile, "./ssl.pem"}]},

> ssl implementation used to produced this type of problems.
>
This is situation 1 minute before crash:

top - 12:26:09 up  1:12,  1 user,  load average: 1.31, 1.12, 0.66
Mem:    905420k total,   737188k used,   168232k free,     1944k buffers
Swap:  3349124k total,   639896k used,  2709228k free,    22068k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2550 root      20   0 1216m 620m 2020 R 94.7 70.2   6:33.43 beam
20275 root      16   0  2016 1016  784 R  0.3  0.1   0:00.33 top
    1 root      16   0  1748  492  468 S  0.0  0.1   0:01.38 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
    5 root      15  -5     0    0    0 S  0.0  0.0   0:00.01 khelper
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
    8 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   64 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   67 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khubd
  113 root      15   0     0    0    0 S  0.0  0.0   0:00.13 pdflush
  114 root      15   0     0    0    0 S  0.0  0.0   0:00.21 pdflush
  116 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0

ejabberd uptime less than 2 hours :-(

=erl_crash_dump:0.1
Mon Dec  4 12:26:16 2006
Slogan: no next heap size found: 154994461, offset 0
System version: Erlang (BEAM) emulator version 5.3.6.3 [source] [hipe]
Compiled: Wed Apr 12 20:59:59 2006
Atoms: 9621
=memory
total: 1186573096
processes: 671210650
processes_used: 671171002
system: 515362446
atom: 428973
atom_used: 420693
binary: 715966
code: 4014736
ets: 502379484

Any ideas ?

Michael





More information about the ejabberd mailing list