[Rails] Re: Dealing with Application error (Rails) in production

Peter Gibbons
Mon, 03 Apr 2006 19:36:20 -0000

Dan Croak wrote:
> Kent Sibilev wrote:
>> Look in the log file, I presume.
>>
>> Kent.
>
> Thanks, Kent.  I looked in the production.log file and found this
> particular error:
>
> Errno::EPIPE (Broken pipe)
>
> Any idea what that is about?
>
> I started seeing the error when I switched over from Apache to a
> lighttpd web server .

If you look at the unreleased changelog for Lighttpd, it shows that it
fixes a fastcgi problem.  The unreleased fixes in Lighttpd also include
connections not getting closed on certain errors, and memory leaks.

Try compiling the Lighttpd version in the repository, or wait until
1.4.12 is released.  Or use Apache 2.0.55 with mod_fcgid-1.08 (not
mod_fastcgi!).

You can see the changesets at