 <p>I sort of experienced the same problem and it let me to this SO post. I got sporadic SIGPIPE signals causing crashes of my fastcgi C program run by nginx. I tried to <code>signal(SIGPIPE, SIG_IGN);</code> without luck, it kept crashing.</p> <p>The reason was that nginx's temp dir had a permission problem. Fixing the permissions solved the SIGPIPE problem. <a href="http://derekneely.com/2009/06/nginx-failed-13-permission-denied-while-reading-upstream/" rel="nofollow">Details here on how to fix</a>.</p>