Ticket #16 (new defect)

Opened 1 year ago

Added a timeout for scgi_base Connection

Reported by: trac Assigned to: asaddi
Priority: minor Milestone:
Component: flup.server Version: 0.5
Keywords: enhancement Cc:

Description

If a WSGI handler doesn't end probably (i.e. infinate loop, trying to connect to a socket without a socket timeout, etc) the child never dies even after the SCGI socket has been closed.

After a number of these processes being ran, it will eventually take out the server.

I added a timeout parameter to scgi_fork (I don't think it'll work with the threaded one because it uses signals)

Enjoy.

Attachments

flup_timeout_patch_r2347.diff (3.5 kB) - added by trac on 04/14/07 07:33:02.
This is based on rev 2347

Change History

04/14/07 07:33:02 changed by trac

  • attachment flup_timeout_patch_r2347.diff added.

This is based on rev 2347