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 18:57:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43494





--- Comment #2 from Jeff Trawick <trawick@apache.org>  2008-07-25 11:57:52 PST ---
It would be best to make use of the existing nonblock+poll timeout
implementation in apr, such that when the apr-wrapped AF_UNIX socket is read
from, read will return APR_TIMEUP at the right time.  The current apr
representation of the AF_UNIX socket may not be the best choice, or we may not
be setting it up properly.  (Or this may be a hopeless goal without new apis in
apr trunk :( )

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.  One specialized thread to worry about shouldn't be too hard, but
even in the current implementation I am hoping the inheritance of the
occasional locked state of new mutex would get repaired automatically once the
child does exec() and we wouldn't need to use pthread_atfork().


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