why lighttpd complain "sendfile: Broken pipe 32 "

Jeremy Chadwick koitsu at FreeBSD.org
Wed Dec 12 06:02:12 PST 2007


On Wed, Dec 12, 2007 at 03:58:43PM +0200, Stefan Lambrev wrote:
>> 2007-12-12 21:20:30: (connections.c.603) connection closed: write failed on fd 158
>>   
> This is probably because the client closed the connection before the server 
> send all data - so broken pipe.

And ideally the handler in lighttpd should be handling SIGPIPE in this
condition; that is to say, such logging output should probably only be
made visible if debugging or verbosity is increased.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list