httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43494] mod_cgid does not kill never ending scripts
Date Fri, 25 Jul 2008 12:33:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43494





--- Comment #1 from rahul <rahul@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


Mime
View raw message