mod_proxy hang, log spew (upstream 2144)

Bug #707997 reported by Martijn Vernooij on 2011-01-26
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)
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).

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
Allen Chemist (alchemist) wrote :

I can confirm it is affecting me too

Version 1.4.26-1.1ubuntu3 on 10.04/Lucid

Tom Feiner (feiner-tom) wrote :

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers