<div dir="ltr"><div style>Hi <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">Matthias,</span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
</span></div><div style><font color="#500050" face="arial, sans-serif"> I use pstack to dig the erlang procces, The log seems like the erlang already crash??!. Are there any other hint can help to track this issue? </font></div>
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px"><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">process name:</span></div>
/usr/lib/erlang/erts-5.9/bin/</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">beam.smp -- -root /usr/lib/erlang -progname </span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">erl -- -home /var/lib/rabbitmq -- -pa </span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">/usr/lib/rabbitmq/lib/</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">rabbitmq_server-3.0.1/sbin/../</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">ebin -noshell </span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">-noinput -hidden -sname rabbitmqctl8972 -s rabbit_control_main -nodename </span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.63636302947998px">rabbit@rabbitmq1 -extra rotate_logs</span><font color="#500050" face="arial, sans-serif"> </font></div><div><br></div>
<div>Thread 4 (Thread 0x40800940 (LWP 16722)):</div><div>#0 0x00002b03c5245fc2 in select () from /lib64/libc.so.6</div><div>#1 0x00000000005b3281 in erts_milli_sleep ()</div><div>#2 0x000000000045585a in system_cleanup ()</div>
<div>#3 0x0000000000455e0c in erl_exit ()</div><div>#4 0x000000000054c946 in signal_dispatcher_thread_func ()</div><div>#5 0x00000000005aec19 in thr_wrapper ()</div><div>#6 0x00002b03c4d5a73d in start_thread () from /lib64/libpthread.so.0</div>
<div>#7 0x00002b03c524cd1d in clone () from /lib64/libc.so.6</div><div>Thread 3 (Thread 0x41001940 (LWP 16723)):</div><div>#0 0x00002b03c4d5eee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0</div><div>
#1 0x00000000005ad0d9 in ethr_cond_wait ()</div><div>#2 0x0000000000476587 in sys_msg_dispatcher_wait ()</div><div>#3 0x00000000004ef7a1 in erts_thr_progress_register_managed_thread ()</div><div>#4 0x000000000047a3d1 in sys_msg_dispatcher_func ()</div>
<div>#5 0x00000000005aec19 in thr_wrapper ()</div><div>#6 0x00002b03c4d5a73d in start_thread () from /lib64/libpthread.so.0</div><div>#7 0x00002b03c524cd1d in clone () from /lib64/libc.so.6</div><div>Thread 2 (Thread 0x41007940 (LWP 16724)):</div>
<div>#0 0x00002b03c4d5eee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0</div><div>#1 0x00000000005ad0d9 in ethr_cond_wait ()</div><div>#2 0x000000000054d76f in child_waiter ()</div><div>#3 0x00000000005aec19 in thr_wrapper ()</div>
<div>#4 0x00002b03c4d5a73d in start_thread () from /lib64/libpthread.so.0</div><div>#5 0x00002b03c524cd1d in clone () from /lib64/libc.so.6</div><div>Thread 1 (Thread 0x2b03c54d0af0 (LWP 16710)):</div><div>#0 0x00002b03c4d614c4 in __lll_lock_wait () from /lib64/libpthread.so.0</div>
<div>#1 0x00002b03c4d5ce1a in _L_lock_1034 () from /lib64/libpthread.so.0</div><div>#2 0x00002b03c4d5ccdc in pthread_mutex_lock () from /lib64/libpthread.so.0</div><div>#3 0x00000000004bb8be in erts_get_timeval ()</div>
<div>#4 0x00000000004efbe4 in erts_thr_progress_fatal_error_block ()</div><div>#5 0x00000000004fa562 in erl_crash_dump_v ()</div><div>#6 0x0000000000455eab in erl_exit ()</div><div>#7 0x00000000004ba9d5 in get_tolerant_timeofday ()</div>
<div>#8 0x00000000004baffa in erts_get_emu_time ()</div><div>#9 0x00000000004a5d41 in erl_create_process ()</div><div>#10 0x000000000045709b in erl_start ()</div><div>#11 0x0000000000436169 in main ()</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/5/16 Matthias Radestock-3 [via RabbitMQ] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=27006&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
        Nate,
<br><br>On 16/05/13 12:36, Nate wrote:
<br></div><div class="im">> Yes, I ran it as root and nothing return to me.... However, when
<br>> I use SIGABRT the process will be deleted. My OS is centos 5.5.
<br><br></div><div class="im">There must be something seriously wrong with that Erlang VM process if
<br>it is not reacting to SIGUSR1.
<br><br>I suggest you "walk up the call stack" of the ps output you posted
<br>initially and manually run the log rotation commands, to check whether
<br>any of them get stuck, e.g.
<br><br>/bin/sh /usr/sbin/rabbitmqctl rotate_logs
<br>/bin/sh /etc/init.d/rabbitmq-server rotate-logs
<br>/bin/sh /sbin/service rabbitmq-server rotate-logs
<br></div><div class="im">sh -c ? /sbin/service rabbitmq-server rotate-logs > /dev/null? ?
<br></div><div class="im">(hmm, what's with those question marks? are they placeholders for
<br>something?)
<br>/usr/sbin/logrotate /etc/logrotate.conf
<br>/bin/sh /etc/cron.daily/logrotate
<br>/bin/bash /usr/bin/run-parts /etc/cron.daily
<br><br></div><div class="im">Matthias.
<br>_______________________________________________
<br>rabbitmq-discuss mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=26760&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" rel="nofollow" link="external" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://rabbitmq.1065348.n5.nabble.com/Re-After-weekly-log-rotatation-was-done-the-command-rabbitmqctl-rotate-logs-never-stop-tp26607p26760.html" target="_blank" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/Re-After-weekly-log-rotatation-was-done-the-command-rabbitmqctl-rotate-logs-never-stop-tp26607p26760.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Re: After weekly log rotatation was done, the command "rabbitmqctl rotate-logs" never stop, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/Re-After-weekly-log-rotatation-was-done-the-command-rabbitmqctl-rotate-logs-never-stop-tp26607p27006.html">Re: After weekly log rotatation was done, the command "rabbitmqctl rotate-logs" never stop</a><br/>
Sent from the <a href="http://rabbitmq.1065348.n5.nabble.com/">RabbitMQ mailing list archive</a> at Nabble.com.<br/>