Ticket #34 (new defect)

Opened 3 years ago

Last modified 3 years ago

flup leaks filedescriptors

Reported by: trac Assigned to: asaddi
Priority: critical Milestone:
Component: flup.server Version: 1.0
Keywords: Cc:

Description

With all configuration I've tested flup it leaks filedescriptors when the frontend webserver closes the connection.

The attached patch mitigates the problem, but introduces a memory leak instead. (It's mostly attached to show the problem).

This happens with all configurations I've tested:
lighttpd fcgi via tcp
lighttpd scgi via tcp
nginx fcgi via unix domain sockets

Misc info:
web.py v2.3.0
python v2.5
ubuntu linux 64-bit v7.10 and 8.04

Attachments

flup-patch (1.3 kB) - added by trac on 09/12/08 08:45:43.
avoids fd leaks, introduces memory leaks

Change History

09/12/08 08:45:43 changed by trac

  • attachment flup-patch added.

avoids fd leaks, introduces memory leaks

09/12/08 08:46:16 changed by trac

  • version changed from 1.0.1 to 1.0.

02/02/09 23:39:30 changed by asaddi

  • milestone deleted.