httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43494] mod_cgid does not kill never ending scripts
Date Fri, 25 Jul 2008 12:33:16 GMT

--- Comment #1 from rahul <>  2008-07-25 05:33:15 PST ---
Created an attachment (id=22316)
 --> (
Adding a timeout watch for mod_cgid (first cut)

This patch adds a timeout thread to the cgid daemon, which checks for processes
that have timedout.
A better solution would have been to set a timeout on the receiving socket from
cgi. But unfortunately the unix sockets that are used to link the cgi process
and handler do not alow SO_SNDTIMEIO and SO_RCVTIMEO to be set.

I suspect there are better approaches, please do let me know how else this can
be done.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message