You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/07/25 14:33:16 UTC

DO NOT REPLY [Bug 43494] mod_cgid does not kill never ending scripts

https://issues.apache.org/bugzilla/show_bug.cgi?id=43494





--- Comment #1 from rahul <ra...@sun.com>  2008-07-25 05:33:15 PST ---
Created an attachment (id=22316)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org