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 40651] - SHELL_PATH in apr_arch_threadproc.h hangs Apache piped logger
Date Mon, 02 Oct 2006 15:58:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40651>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40651


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rpluem@apache.org  2006-10-02 08:58 -------
(In reply to comment #13)
> Created an attachment (id=18950)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18950&action=view) [edit]
> proof-of-concept fix
> 
> This should prevent the orphaned piped loggers, not sure if this is the optimal
> solution though.

I am a little worried that nobody reads at the other end of the pipe. What if
the logger writes a huge amount of data to its stderr? Wouldn't it get blocked?
What about using the stdout of the main process (should be /dev/null) for the
logger? I modified your patch to do this. A quick test shows that it works.
Comments welcome.




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message