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 Mon, 28 Jul 2008 13:53:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43494





--- Comment #3 from rahul <rahul@sun.com>  2008-07-28 06:53:00 PST ---
Created an attachment (id=22324)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22324)
threadless patch for cgid timeout

> It would be best to make use of the existing nonblock+poll timeout
> implementation in apr
Currently, as far as I can see, APR does not know about UNIX sockets, and
would have to mess with the private apr headers and datastructures under arch
to do it.

> If at all possible, mod_cgid should avoid threads; having a single-threaded
> process to fork/setup/exec the children is a feature to avoid unexpected
> inheritance.

Thanks, I hadn't thought about it.
I am adding a new patch which checks it using SIGALRM instead.


-- 
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