[ejabberd] ejabberd "temporary shutdown" problems

Aman Gupta ejabberd at tmm1.net
Sat Jul 5 04:33:18 MSD 2008


There is plenty of space on the device. I'll try upping the open file limit.

Also seeing these errors:

=ERROR REPORT==== 4-Jul-2008::16:01:18 ===
Mnesia('ejabberd-9550 at localhost'): ** WARNING ** Mnesia is overloaded:
{dump_log,

 write_threshold}

=INFO REPORT==== 4-Jul-2008::17:02:46 ===
I(<0.242.0>:ejabberd_listener:125) : (#Port<0.363>) Failed TCP accept:
emfile

=INFO REPORT==== 4-Jul-2008::17:02:54 ===
I(<0.242.0>:ejabberd_listener:125) : (#Port<0.363>) Failed TCP accept:
emfile
Mnesia('ejabberd-9550 at localhost'): Data may be missing, Corrupt logfile
deleted: "mnesia/PREVIOUS.LOG", {file_error,


"mnesia/PREVIOUS.LOG",

                                                                  emfile}

Crash dump was written to: logs/ejabberd-9550-crash-2008_07_04_12_03.dump
eheap_alloc: Cannot allocate 1824525600 bytes of memory (of type
"old_heap").

Examining the erl_crash.dump using webtool shows a lot of
proc_lib:init_p/5 processes
with Linked in driver: tcp_inet ports open. It seems as if processes/ports
for clients that have closed connections are not getting cleaned up.

Any ideas?

  Aman

On Thu, Jul 3, 2008 at 11:19 PM, Zbyszek Żółkiewski <zbyszek at toliman.pl>
wrote:

> do you have sufficient space on devide where ejabberd put its files?
> did you alter ulimit (-n - openfiles) for user that run ejabberd?, if not
> try to do it and then check if problem persist
>
> On Fri, Jul 4, 2008 at 04:38, Aman Gupta <ejabberd at tmm1.net> wrote:
>
>> I've had this happen a few times now.. erlang continues to run, but
>> ejabberd is no longer listening for connections:
>>
>> $ yaourt -Ss ejabberd
>> community/ejabberd 2.0.0-1 [installed]
>>
>> $ erl -v
>> Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:4]
>> [async-threads:0] [hipe] [kernel-poll:false]
>>
>> ejabberd.log:
>>
>> =INFO REPORT==== 3-Jul-2008::02:48:04 ===
>> Mnesia('ejabberd-9550 at localhost'): Data may be missing,
>> Corrupt logfile deleted: "mnesia/PREVIOUS.LOG", {file_error,
>>                                                  "mnesia/PREVIOUS.LOG",
>>                                                  system_limit}
>>
>> =SUPERVISOR REPORT==== 3-Jul-2008::02:49:37 ===
>>      Supervisor: {local,mnesia_kernel_sup}
>>      Context:    child_terminated
>>      Reason:     shutdown
>>      Offender:   [{pid,<0.62.0>},
>>                   {name,mnesia_monitor},
>>                   {mfa,{mnesia_monitor,start,[]}},
>>                   {restart_type,permanent},
>>                   {shutdown,3000},
>>                   {child_type,worker}]
>>
>>
>> =SUPERVISOR REPORT==== 3-Jul-2008::02:49:37 ===
>>      Supervisor: {local,mnesia_kernel_sup}
>>      Context:    shutdown
>>      Reason:     reached_max_restart_intensity
>>      Offender:   [{pid,<0.62.0>},
>>                   {name,mnesia_monitor},
>>                   {mfa,{mnesia_monitor,start,[]}},
>>                   {restart_type,permanent},
>>                   {shutdown,3000},
>>                   {child_type,worker}]
>>
>> =ERROR REPORT==== 3-Jul-2008::02:49:37 ===
>> Mnesia('ejabberd-9550 at localhost'): ** ERROR ** (could not write core
>> file: system_limit)
>>  ** FATAL ** Cannot open log file "mnesia/PREVIOUS.LOG": {file_error,
>>
>>  "mnesia/PREVIOUS.LOG",
>>                                                           system_limit}
>>
>> =INFO REPORT==== 3-Jul-2008::02:49:37 ===
>>     application: mnesia
>>     exited: shutdown
>>     type: temporary
>>
>> I'm not sure what file_error and system_limit are referring to.. perhaps
>> I'm hitting the max ports limit?
>>
>>   Aman Gupta
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>>
>
>
> --
> pozdrawiam,
> Zbyszek Żółkiewski
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080704/8c9c4354/attachment.htm 


More information about the ejabberd mailing list