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=23616>. 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=23616 ------- Additional Comments From [EMAIL PROTECTED] 2007-01-09 21:20 ------- (In reply to comment #19) > (In reply to comment #16) > > The symptoms described here are rather similar to that in bug 40651 but I > > don't > > know if that bug is really a separate Unix-specific issue. Can someone try > > this > > patch to see if it fixes the problem for Win32 too? > > > > > http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?r1=452431&r2=452430&pathrev=452431&view=patch > > I compiled 2.2.3 source with ssl and zlib and a patched log.c (above). I was > able to start the httpd as an application, but not as a service. When I > tried, > it would complain about not being able to write log files. > As a verification, I reverted the log.c and recompiled. the result worked as > expected..functioning fine except for the orphaned log processes Ok, I found a post ( http://www.apachelounge.com/forum/viewtopic.php?t=568 ) where someone suggested this: >Looks like there's a bug in server/log.c in function piped_log_spawn >((status = apr_procattr_cmdtype_set(procattr, >APR_SHELLCMD_ENV)) != APR_SUCCESS) || > >should read > >((status = apr_procattr_cmdtype_set(procattr, >APR_PROGRAM_ENV)) != APR_SUCCESS) > >After this patch, when you close the main program, the piped processes are also >killed off. I applied the suggestion to log.c and recompiled. The result fixed one of two issues I see. 1. for every log pipe (rotatelogs.exe) spawned, there is a corrisponding cmd.exe in the task manager This was not effected by the patch 2. when apache exits, or in some cases, when logs rotate; the piped program (rotatelogs.exe) are not shut down and live on. This was FIXED by the change, they now exit when apache exits. anyone have any ideas on the first issue? thanks -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
