<div dir="ltr"><div>Hi Matthias,</div><div><br></div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">1.  Did logs get rotated successfully in the past or did all log rotations </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">get stuck?</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px"> </span><div style>
Only two of nodes in the cluster get stuck. And two clusters are in the same situation.</div><div style><br></div><div style>2. <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">Your initial report showed a few more processes, including a beam.smp</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px"> </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">process. Presumably that&#39;s still there too, right? If so, please post</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px"> </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">the complete command line for that.</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px"> </span></div>
<div><div><br></div><div>rabbitmq  8972  0.0  2.8 580024 510588 ?       Ssl  May12   0:00 /usr/lib/erlang/erts-5.9/bin/beam.smp -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.0.1/sbin/../ebin -noshell -noinput -hidden -sname rabbitmqctl8972 -s rabbit_control_main -nodename rabbit@rabbitmq1 -extra rotate_logs</div>
</div><div><br></div><div style>3. I wanna know the root cause too! Therefore, I prefer to keeping the process and let it telling us the reason.</div><div style><br></div><div style>Thanks for your help!</div><div style><br>
</div><div style>Regards,</div><div style>Nate.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/15 Matthias Radestock-3 [via RabbitMQ] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=26705&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</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">

        On 15/05/13 07:52, Nate wrote:
<br></div><div class="im">&gt;      After doing the rabbitmqctl rotate_logs, rabbitmq.log.1 show the &#39;
<br>&gt; Rotating logs with suffix &#39;&#39; &#39; in the end of log file and rabbitmq start
<br>&gt; writing the new logs to rabbitmq.log.
<br><br></div><div class="im">Great. That&#39;s good to know. So it appears that everything is well with 
<br>your server and that the problem is with the logrotate initiation.
<br><br></div><div class="im">&gt; However, the old rotate process were
<br>&gt; still exist. BTW, my another 3-node cluster has same log rotate issue
<br>&gt; today.....
<br><br></div><div class="im">Did logs get rotated successfully in the past or did all log rotations 
<br>get stuck?
<br><br></div><div class="im">&gt; root      8944  0.0  0.0   8668  1052 ?        S    May12   0:00 sh -c ?
<br>&gt; /sbin/service rabbitmq-server rotate-logs &gt; /dev/null? ?
<br>&gt; /sbin/service rabbitmq-server rotate-logs &gt; /dev/null?
<br>&gt; /var/log/rabbitmq/*.log
<br>&gt; root      8946  0.0  0.0   8804  1296 ?        S    May12   0:00 /bin/sh
<br>&gt; /sbin/service rabbitmq-server rotate-logs
<br>&gt; root      8951  0.0  0.0  10896  1392 ?        S    May12   0:00 /bin/sh
<br>&gt; /etc/init.d/rabbitmq-server rotate-logs
<br><br></div><div class="im">Your initial report showed a few more processes, including a beam.smp 
<br>process. Presumably that&#39;s still there too, right? If so, please post 
<br>the complete command line for that.
<br><br>You could just kill that process, but I am keen to get to the bottom of 
<br>the problem so am hoping that we will be able to get that process to 
<br>tell us where it&#39;s stuck.
<br><br></div><div class="im">Regards,
<br><br>Matthias.
<br>_______________________________________________
<br>rabbitmq-discuss mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=26696&amp;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>
        </div><hr noshade size="1" color="#cccccc">
        <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-tp26607p26696.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-tp26607p26696.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 &quot;rabbitmqctl rotate-logs&quot; 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&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;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-tp26607p26705.html">Re: After weekly log rotatation was done, the command &quot;rabbitmqctl rotate-logs&quot; never stop</a><br/>
Sent from the <a href="http://rabbitmq.1065348.n5.nabble.com/">RabbitMQ mailing list archive</a> at Nabble.com.<br/>