mod_proxy hang, log spew (upstream 2144)

Bug #707997 reported by Martijn Vernooij
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lighttpd

Release:
Description: Ubuntu 10.04.1 LTS
Release: 10.04

lighttpd:
  Installed: 1.4.26-1.1ubuntu3
  Candidate: 1.4.26-1.1ubuntu3
  Version table:
 *** 1.4.26-1.1ubuntu3 0
        500 http://nl.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Expected:
In case the lighttpd proxy module detects a connection has been closed on it from the other end, it logs an error, closes its own end of the connection and continues working.

What actually happens:
The problem is logged, but the connection is not closed. The problem therefore continues to get logged until there is no more disk space.

Description:
I am using lighttpd as a proxy to apply ssl to another web service. After some time, my disk had become full. The error.log file was filling the disk (many gigabytes) with consecutive lines like this:

2011-01-25 13:13:33: (mod_proxy.c.853) write failed, remote connection close: Broken pipe 32
2011-01-25 13:13:33: (mod_proxy.c.853) write failed, remote connection close: Broken pipe 32
2011-01-25 13:13:33: (mod_proxy.c.853) write failed, remote connection close: Broken pipe 32

This is a bug in the proxy module in that it senses the connection was broken, logs that and proceeds not to close its own end of the connection. This way the error keeps happening over and over.

This problem was reported to the lighttpd project as bug #2144:

http://redmine.lighttpd.net/issues/2114

and, according to them, fixed with this small patch:

http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2719/diff/branches/lighttpd-1.4.x/src/mod_proxy.c

Please apply this bugfix to the package in Lucid Lynx (10.04).

Revision history for this message
Anand Chitipothu (anandology) wrote :

Effects me too.

I switched from Ubuntu 8.10 to Ubuntu 10.04 and this problem started appearing.

Changed in lighttpd (Ubuntu):
status: New → Confirmed
Revision history for this message
Allen Chemist (alchemist) wrote :

I can confirm it is affecting me too

Version 1.4.26-1.1ubuntu3 on 10.04/Lucid

Revision history for this message
Tom Feiner (feiner-tom) wrote :

+1 , this is a nasty bug that affects me too.
Any plans on releasing a fix ?

Revision history for this message
gstrauss (gstrauss) wrote :

Fixed in lighttpd 1.4.27 released Aug 2010
http://redmine.lighttpd.net/issues/2114

Changed in lighttpd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.