Apparently these crashed don&#39;t happen with the upstreamfair module, as far as I&#39;ve been able to tell so far.  That&#39;s probably good enough as a workaround for me for now, and may be a clue when investigating this crash.<br>
<br><div class="gmail_quote">On Sun, May 1, 2011 at 5:54 PM, Stephen Weeks <span dir="ltr">&lt;<a href="mailto:sweeks@imvu.com">sweeks@imvu.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ve currently got a pool of systems running nginx proxying to a pool of systems running apache.  I&#39;m trying to move to running nginx locally on the apache hosts instead of separate systems to avoid the extra network hop, make more-efficient use of resources, and enable some future development (including migrating to running our application on nginx via fastcgi instead of apache, ideally).  we&#39;ve currently got some significant architecture built up around apache, so converting right now is uncomfortable.<br>

<br>Ideally, I&#39;d like nginx to just serve from localhost, but fail over to the rest of the pool when localhost in unavailable, so in my upstream I have every server except for localhost set as &#39;backup&#39;.  I&#39;m otherwise running identical configurations of apache and nginx on a single system together as used in the rest of the two pools.  This works exactly as expected, except that I get a few crashes of nginx workers every minute.  This only happens when proxying to the local system.  If I proxy anywhere else, it works fine.  Other proxies can serve from this system without trouble.  I see this same behaviour on other hosts when I build them the same way, so it&#39;s not an error with the host.  I see this crash on 0.7.65, 0.8.54, and 1.0.0, running on Ubuntu 10.04 LTS.  I see this crash whether I&#39;m connecting to 127.0.0.1 or the host&#39;s local IP.  I see this crash whether I&#39;m listening on *:80 or &lt;public ip&gt;:80.  I see this crash whether I&#39;m connecting to :80 or running apache on a different port and connecting to :81.  I see this crash whether I&#39;m running ubuntu&#39;s &quot;nginx-light&quot; configuration, or their &quot;nginx-full&quot; configuration.  I see no errors logged from apache.<br>

<br>1) I&#39;d really love to make this work, so if there&#39;s anything else I can try, any additional debugging information I can give, I&#39;d appreciate it.<br>2) Nginx has been very useful to me so far, so I thought you&#39;d appreciate a bug report.<br>

<br>Posted on github, I have a problem description, section of a debug log, my (slightly edited: flattened includes and stripped an IP) nginx.conf, a gdb backtrace, and some additional information I was asked for when looking for help on IRC.  This is everything I&#39;ve been able to come up with that sounds plausibly relevant.<br>

<br><a href="https://gist.github.com/1574dbaf3a3dcda920a2" target="_blank">https://gist.github.com/1574dbaf3a3dcda920a2</a><br><br>Any help?<br><br>(Thanks to MTechnology and kolbyjack for helping me troubleshoot this on IRC)<br>
<br><br>
</blockquote></div><br>