ejabberd - Comments for "Crash dumps from munin plugins" https://www.ejabberd.im/node/4038 en Yes, the problem is still https://www.ejabberd.im/node/4038#comment-55739 <p>Yes, the problem is still there. I will do what you suggested, but as this is a live server, I have to do this sometimes during the night. So this could take some days until I return with the results.</p> <p>What you say about RAM allocation makes sense for me. We have a lot of transports running and as much or even more users on the transport than logged into the Jabberserver itself.</p> <p>Does it make sense to store some of the tables on the disk? It's not that the machine cannot handle more (it has 8gigs of RAM), but I'm afraid the task takes more and more, as longer as it is running. Although it looks like it is satisfied with about 1.1gigs of RAM. But to be sure I really have to run it some days and not restart it all the time because of configuration changes.</p> Tue, 11 May 2010 10:47:13 +0000 Roi comment 55739 at https://www.ejabberd.im How to get error messages about erlang starting problem https://www.ejabberd.im/node/4038#comment-55731 <p>Oh, those first lines aren't indicative enough.</p> <p>If you still have this problem, there's a method to get more information.</p> <p>Try this:</p> <ol> <li>Stop ejabberd, kill beam, beam.smp, epmd, ... processes </li><li>Start ejabberd by using the "live" method. In my case it's "ejabberdctl live" </li><li>This will show you on the console all the log messages. </li><li>Most importantly, it may provide an initial error message in cases where erlang doesn't fully start (like in your case). </li><li>The error that most probably you may get is this one:<br /> {error_logger,{{2010,5,10},{23,8,50}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name} </li></ol> <p>So, does that show anything new?</p> <p>Regarding the RAM usage: I forgot to mention that my server is 32bits, not 64bits. And that it doesn't run any ICQ/MSN/... transport. That way there are less roster items on average. Also, I configured (using ejabberd WebAdmin, for example) some tables to be stored on Disk only, not RAM.</p> Mon, 10 May 2010 21:22:34 +0000 mfoss comment 55731 at https://www.ejabberd.im still crashes after upgrade to 2.1.3 https://www.ejabberd.im/node/4038#comment-55721 <p>Sorry it took me some time to reply, just did not have any time the last days.</p> <div class="quote-msg"> <div class="quote-author"><em>Roi</em> wrote:</div> <p>I cannot read the crash (which btw is ~250kb big), can somebody help?</p></div> <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>The first 4 or 5 lines are plain text, and may be useful to determine what's the problem. Post them here.</p></div> <p>I just upgraded to ejabberd 2.1.3 (from 2.1.2, Debian package finally is available), the same crashes still happen.</p> <p>Here you are, the first some lines of the erl_crash.dump file:</p> <blockquote><p>=erl_crash_dump:0.1<br /> Sat May 8 14:25:12 2010<br /> Slogan: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})<br /> System version: Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [kernel-poll:false]<br /> Compiled: Thu Apr 22 19:57:18 2010<br /> Taints:<br /> Atoms: 3957<br /> =memory<br /> total: 5005776<br /> processes: 483880<br /> processes_used: 469400<br /> system: 4521896<br /> atom: 284097<br /> atom_used: 256048<br /> binary: 166312<br /> code: 2089687<br /> ets: 59944<br /> =hash_table:atom_tab<br /> size: 3203<br /> used: 2275<br /> objs: 3957<br /> depth: 6<br /> =index_table:atom_tab<br /> size: 4096<br /> limit: 1048576<br /> entries: 3957<br /> =hash_table:module_code<br /> size: 47<br /> used: 32<br /> objs: 45<br /> depth: 3</p></blockquote> <div class="quote-msg"> <div class="quote-author"><em>Roi</em> wrote:</div> <p>I think that 700-800 megs of RAM for 100 online users is way too much, isn't it?</p></div> <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>In a server that runs ejabberd 2.1.3 for typical Jabber chats, it takes 800 MB for 700 online users, and 200 s2s connections.</p></div> <p>Hm well, then there has to be some problem or strange thing going on, see here:<br /> <noindex><a href="http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/ejabberd_memory.html" title="http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/ejabberd_memory.html" rel="nofollow" >http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/...</a></noindex><br /> <noindex><a href="http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/ejabberd.html" title="http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/ejabberd.html" rel="nofollow" >http://www3.hot-chilli.net/munin/hot-chilli.net/hyperion.hot-chilli.net/...</a></noindex></p> <p>I just restarted ejabberd at 2pm when upgrading it to 2.1.3, but it then directly grabbed 700 megs. Now climbing up again to 1 gig and staying there. At least it looks so. We have between 50 and 120 online users and between 30 and 170 s2s connections at the moment. The machine is a fresh installed Debian amd64 SMP server, running just official Debian (squeeze and unstable) plus some backport packages.</p> <p>Regards,<br /> Martin</p> Sat, 08 May 2010 12:36:09 +0000 Roi comment 55721 at https://www.ejabberd.im Roi wrote: I cannot read the https://www.ejabberd.im/node/4038#comment-55703 <div class="quote-msg"> <div class="quote-author"><em>Roi</em> wrote:</div> <p>I cannot read the crash (which btw is ~250kb big), can somebody help? </p></div> <p>The first 4 or 5 lines are plain text, and may be useful to determine what's the problem. Post them here.</p> <div class="quote-msg"> <div class="quote-author"><em>Roi</em> wrote:</div> <p>I think that 700-800 megs of RAM for 100 online users is way too much, isn't it? </p></div> <p>In a server that runs ejabberd 2.1.3 for typical Jabber chats, it takes 800 MB for 700 online users, and 200 s2s connections.</p> Thu, 06 May 2010 13:59:15 +0000 mfoss comment 55703 at https://www.ejabberd.im