I had a similar issue 2 hours before when 2 worker processes segfault. As I&#39;m using a custom mudule, I didn&#39;t link the two events.<br><br><div class="gmail_quote">2011/4/1 Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello!<br>
<div class="im"><br>
On Fri, Apr 01, 2011 at 11:42:44AM +0200, Jérôme Loyet wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I had an issue last night with a 0.8.54 nginx instance. Around 1AM, a HUP<br>
&gt; signal is sent to log rotation. This nginx instance is set up as a reverse<br>
&gt; proxy to an apache/php and it does some cache. Here is the proxy_cache<br>
&gt; related conf I&#39;ve set up.<br>
&gt;<br>
&gt; proxy_cache_path /CACHE levels=1:2:2 keys_zone=cache:256m inactive=1d<br>
&gt; max_size=20g;<br>
&gt; proxy_cache cache;<br>
&gt;<br>
&gt; Last night, the cache process manager has restarted well, but it has<br>
&gt; consumed all CPU available on the server. Moreover, the SAR command<br>
&gt; indicates that it did not seek, read or write on the disks (as the disk<br>
&gt; usage remains almost null). Our exploitation team had to restart nginx 40<br>
&gt; minutes later and it solves the problem.<br>
&gt;<br>
&gt; Has someone already experience such an issue ? Do you know why this could<br>
&gt; happened ?<br>
<br>
</div>Yesterday similar issue was discussed on russian mailing list,<br>
here:<br>
<br>
<a href="http://nginx.org/pipermail/nginx-ru/2011-March/040396.html" target="_blank">http://nginx.org/pipermail/nginx-ru/2011-March/040396.html</a><br>
<br>
Cache manger was spinning in ngx_spinlock() waiting for cache lock<br>
to be released.  Cache lock was never released as it was hold by<br>
worker process which caught SIGSEGV while holding cache lock.<br>
<br>
Maxim Dounin<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>