Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache: long lost child came home

2,161 views
Skip to first unread message

Patrick Verdon

unread,
Mar 18, 1999, 3:00:00 AM3/18/99
to

Hi all,

Whenever I do:

# apachectl graceful

I get the following in the error_log:

httpd: [Thu Mar 18 22:35:08 1999] [notice] SIGUSR1 received. Doing graceful restart
httpd: [Thu Mar 18 22:35:10 1999] [notice] Apache/1.3.4 (Unix) mod_perl/1.18 mod_ssl/2.2.2 SSLeay/0.9.0b configured -- resuming normal operations
httpd: [Thu Mar 18 22:35:10 1999] [info] Server built: Feb 13 1999 23:29:22
httpd: [Thu Mar 18 22:35:10 1999] [warn] long lost child came home! (pid 10076)
httpd: [Thu Mar 18 22:35:10 1999] [warn] long lost child came home! (pid 10074)
httpd: [Thu Mar 18 22:35:10 1999] [warn] long lost child came home! (pid 10072)
httpd: [Thu Mar 18 22:35:10 1999] [warn] long lost child came home! (pid 10070)
httpd: [Thu Mar 18 22:35:10 1999] [warn] long lost child came home! (pid 10068)
httpd: [Thu Mar 18 22:35:39 1999] [notice] SIGUSR1 received. Doing graceful restart
httpd: [Thu Mar 18 22:35:40 1999] [notice] Apache/1.3.4 (Unix) mod_perl/1.18 mod_ssl/2.2.2 SSLeay/0.9.0b configured -- resuming normal operations
httpd: [Thu Mar 18 22:35:40 1999] [info] Server built: Feb 13 1999 23:29:22
httpd: [Thu Mar 18 22:35:40 1999] [warn] long lost child came home! (pid 10190)
httpd: [Thu Mar 18 22:35:40 1999] [warn] long lost child came home! (pid 10188)
httpd: [Thu Mar 18 22:35:40 1999] [warn] long lost child came home! (pid 10186)
httpd: [Thu Mar 18 22:35:40 1999] [warn] long lost child came home! (pid 10184)
httpd: [Thu Mar 18 22:35:40 1999] [warn] long lost child came home! (pid 10170)

As you can see mod_perl and mod_ssl are compiled in
but I've disabled all mod_perl directives in httpd.conf
and I get the same behaviour on another server where
mod_ssl is not in the picture. Also notice that the server
was restarted twice, 30 seconds apart, and that it serviced
_no_ hits during this time.

Platform is SPARC Solaris 2.6.

Does anyone know what's going on here?
Any idea how I can find out?

Cheers.

Patrick

--

#===============================#
\ KAN Design & Publishing Ltd /
/ T: +44 (0)1223 511134 \
\ F: +44 (0)1223 571968 /
/ E: mailto:pat...@kan.co.uk \
\ W: http://www.kan.co.uk /
#===============================#

Patrick Verdon

unread,
Mar 19, 1999, 3:00:00 AM3/19/99
to

Hi again,

I finally figured out that the use of cronolog
to rotate log files is causing this message
when a graceful restart is effected. I was
getting one of these in the error_log for every
virtual host using cronolog:

httpd: [Fri Mar 19 23:31:10 1999] [warn] long lost child came home! (pid 21944)

I assume this is happening because a cronolog
sub-process is spawned for each virtual host and
when the processes die on restart, Apache doesn't
recognize them as httpd processes and thinks
they're stray children.

I've tested the rotatelogs utility that comes
with Apache and I get the same behaviour.

A bug?

0 new messages