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=43491>. 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=43491 ------- Additional Comments From [EMAIL PROTECTED] 2007-09-26 13:24 ------- I can reproduce the problem for Solaris. The patch posted by Bill on httpd-dev fixes the problem on Solaris (apart from a missing semicolon) as well as the one you attached. I can provide full truss output, if someone needs it. Below find an excerpt with the relevant diff. This rotatelogs process gets forked from the httpd process, that does the first configuration validation. Even without the patch: during the first (graceful) restart the additional rotatelogs process terminates. Caution: I use a slightly non standard build, using the shell /usr/xpg4/bin/sh nsted of /bin/sh in /srclib/apr/include/arch/unix/apr_arch_threadproc.h: #define SHELL_PATH "/usr/xpg4/bin/sh" On Solaris one otherwise gets double processes for rotatelogs, since /bin/sh creates a second process when calles with "-c". This is a separate observation not only restricted for the error logger of the main server. truss with bug (28235 startup httpd process, 28237 rotatelogs forked by that): 28235: bind(3, 0x0007C608, 32, 3) = 0 28235: AF_INET6 name = :: port = 8001 28235: listen(3, 511, 1) = 0 ########## THIS part goes away with the patch ########## 28235: pipe() = 7 [8] 28235: fcntl(7, F_GETFL, 0x00000000) = 2 28235: fstat64(7, 0xFFBEF6D0) = 0 28235: d=0x04140000 i=9338918 m=0010000 l=0 u=1200 g=1200 sz=0 28235: at = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: mt = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: ct = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: bsz=5120 blks=0 fs=fifofs 28235: fstat64(7, 0xFFBEF6D0) = 0 28235: d=0x04140000 i=9338918 m=0010000 l=0 u=1200 g=1200 sz=0 28235: at = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: mt = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: ct = Sep 26 20:44:54 CEST 2007 [ 1190832294 ] 28235: bsz=5120 blks=0 fs=fifofs 28235: fcntl(7, F_SETFL, 0x00000082) = 0 ########## END PART ########## 28235: brk(0x0014A800) = 0 28235: brk(0x0014C800) = 0 28235: pipe() = 9 [10] 28235: pipe() = 11 [12] 28235: fcntl(1, F_DUP2FD, 0x0000000B) = 11 28235: access("/opt/build/test/apache22-prefork-2.2.6_0.9.8e-1/bin/rotatelogs", 5) = 0 28235: fork1() = 28237 28237: fork1() (returning as child ...) = 28235 28237: getpid() = 28237 [28235] truss with patch (5966 httpd startup process, 5968 forked rotatelogs): 5966: bind(3, 0x0007E628, 32, 3) = 0 5966: AF_INET6 name = :: port = 8001 5966: listen(3, 511, 1) = 0 5966: pipe() = 7 [8] 5966: brk(0x0014C820) = 0 5966: brk(0x0014E820) = 0 5966: pipe() = 9 [10] 5966: pipe() = 11 [12] 5966: fcntl(1, F_DUP2FD, 0x0000000B) = 11 5966: access("/opt/build/test/apache22-prefork-2.2.6_0.9.8e-1/bin/rotatelogs", 5) = 0 5966: fork1() = 5968 5968: fork1() (returning as child ...) = 5966 5968: getpid() = 5968 [5966] -- 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]
