ejabberd - Comments for "Jabber server keeps crashing after gobbling memory" https://www.ejabberd.im/node/3235 en I'm seeing this very same https://www.ejabberd.im/node/3235#comment-54241 <p>I'm seeing this very same issue as well - so any help here would be greatly appreciated.</p> <p>The output for the process information in webtool looks like so: </p> <p>Pid Name/Spawned as State Reductions Stack+heap MsgQ Length<br /> &lt;0.27394.12&gt; proc_lib:init_p/5 Garbing (limited info) 110439599 285082125 288927</p> <p>The crash I think is happening because the garbage collector is trying to allocate some memory - but it can't get it. </p> <p>Any help would be fantastic.</p> Wed, 13 May 2009 12:44:35 +0000 neil comment 54241 at https://www.ejabberd.im badlop, what queues do you https://www.ejabberd.im/node/3235#comment-53999 <p>badlop, what queues do you mean? Erlang interprocess queues or something else?</p> <p>Anyways:<br /> How do I check exactly if the queues consume RAM?</p> <p>Thanks.</p> Fri, 06 Feb 2009 17:47:39 +0000 DrKpo comment 53999 at https://www.ejabberd.im Some ideas https://www.ejabberd.im/node/3235#comment-53660 <p>Probably the memory is consumed by the processes queues: if the messages can't be processed as fast as they are received, the queues increase until some limit is reached. In your case it seems the limit is imposed by the system RAM, or maybe by Erlang capability to handle 4 GB.</p> <p>If you increase the available RAM, the crash will happen later, but will happen for sure.</p> <p>If that's the reason of the problem, the solution is to ensure that the queues don't grow continually. Some ideas:</p> <ul> <li>Send less messages per unit time, so they can be processed faster than they are received. </li><li>Send smaller messages... I'm not sure if that is related, it depends how big your current messages are </li><li>Give more processing power to the executors, so that they can process your messages faster than they are received. </li><li>You have: [kernel-poll:false]. You can enable that, maybe it helps a little. Check <noindex><a href="/kernel-poll" rel="nofollow" >Kernel Poll on ejabberd</a></noindex> </li></ul> Thu, 16 Oct 2008 18:17:50 +0000 mfoss comment 53660 at https://www.ejabberd.im