You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Jaysingh Samuel <ja...@hotmail.com> on 2009/09/07 08:41:10 UTC
Repetitive warnings on ErrorLogs.
Hi,
We are getting the following warning's on the error Logs. The warning are shown at graceful restart of apache server.
[warn] long lost child came home! (pid 31188)
We are doing graceful restart of apache server every 30 minutes and we get these warning repetitively, i have tested with the apache "restart" and that's not showing warning.
Is this a fatal error?. More light on this regarding the cause and solution to stop this will be very helpful.
Thanks in advance,Jaysingh Samuel.
_________________________________________________________________
News, sports, entertainment and fine living…learn the ropes on MSN India
http://in.msn.com
Re: Repetitive warnings on ErrorLogs.
Posted by Eric Covener <co...@gmail.com>.
On Wed, Sep 9, 2009 at 1:48 PM, Houser, Rick<Ho...@aoins.com> wrote:
> This is a known issue in IBM's 2.0.47 port of Apache (IHS), which was
> fixed in a later upstream version (possibly by the 2.2.8 port, but I
> really can't say for sure).
This message is not unique to IBM's Apache-based server or even 2.0.x.
One source of the message was resolved in both distributions in 2005,
which I believe is:
http://svn.apache.org/viewvc?view=rev&revision=159470
--
Eric Covener
covener@gmail.com
RE: Repetitive warnings on ErrorLogs.
Posted by Jaysingh Samuel <ja...@hotmail.com>.
Hi,
Iam using Apache -2.0.55 in Suse Operating systems. Will check out in latest stable version and let you know.
Thanks, Jaysingh
> Subject: RE: Repetitive warnings on ErrorLogs.
> Date: Wed, 9 Sep 2009 13:48:22 -0400
> From: Houser.Rick@aoins.com
> To: modules-dev@httpd.apache.org
>
> This is a known issue in IBM's 2.0.47 port of Apache (IHS), which was
> fixed in a later upstream version (possibly by the 2.2.8 port, but I
> really can't say for sure). It would take a lot of digging for me to
> locate the specific version, so I'm going to pass on that one. At least
> in my case, this message was completely harmless and could be ignored.
>
> What version of Apache are you running? Does this message appear in the
> latest stable release?
>
>
> Thanks,
>
> Rick Houser
> Auto-Owners Insurance
> Systems Support
> (517)703-2580
>
>
> > -----Original Message-----
> > From: Jaysingh Samuel [mailto:jayasingh.samuel@hotmail.com]
> > Sent: Tuesday, September 08, 2009 7:55 AM
> > To: modules-dev@httpd.apache.org
> > Subject: RE: Repetitive warnings on ErrorLogs.
> >
> >
> > Hi soren,
> > Thanks for useful information on this.
> > We are not spawning children from the pre/post config, but
> > still i could see the long lost child alerts. This alerts is
> > coming only on graceful restart(SIGUSR) of the server and not
> > on restart on the server.
> > When i did debug on the worker server_main function i could
> > see that after the run config is done for all the modules,
> > there are many process ID thrown with "long lost child", and
> > after that the server resumes with the children.
> > Iam wondering is the alerts are showing because of the custom
> > modules what we are using a longer time to finish with?.
> > Please throw some light on this.
> > Thanks in advance. Jaysingh Samuel
> > > Date: Mon, 7 Sep 2009 08:51:25 +0200
> > > Subject: Re: Repetitive warnings on ErrorLogs.
> > > From: sorinm@gmail.com
> > > To: modules-dev@httpd.apache.org
> > >
> > > On Mon, Sep 7, 2009 at 08:41, Jaysingh
> > > Samuel<ja...@hotmail.com> wrote:
> > > >
> > > > Hi,
> > > > We are getting the following warning's on the error Logs.
> > The warning are shown at graceful restart of apache server.
> > > >
> > > > [warn] long lost child came home! (pid 31188)
> > > >
> > > > We are doing graceful restart of apache server every 30
> > minutes and we get these warning repetitively, i have tested
> > with the apache "restart" and that's not showing warning.
> > > > Is this a fatal error?. More light on this regarding the
> > cause and solution to stop this will be very helpful.
> > > >
> > > > Thanks in advance,Jaysingh Samuel.
> > >
> > >
> > > Apache keeps its children in a table of process IDs, called the
> > > scoreboard. Then, the main server, the one that has created and
> > > started the children processes, waits on them. When the child exits,
> > > the main server looks up the PID of the exiting child in the
> > > scoreboard. If the child is not in the scoreboard, you get this
> > > warning.
> > >
> > > It may occur if you start children from your main server
> > (for example
> > > in the pre/post_config hooks). As you start them yourself,
> > they won't
> > > be managed by apache, so their PIDs do not appear in the scoreboard.
> > > This would be a "harmless" way in which you could get the
> > warning when
> > > you shut down your children.
> > >
> > > S
> > >
> > > --
> > > A: Because it reverses the logical flow of conversation.
> > > Q: Why is top-posting frowned upon?
> > > A: Top-posting.
> > > Q: What is the most annoying thing in e-mail?
> >
> > _________________________________________________________________
> > We all see it as it is. But on MSN India, the difference lies
> > in perspective.
> > http://in.msn.com
> >
>
_________________________________________________________________
Sports, news, fashion and entertainment. Pick it all up in a package called MSN India
http://in.msn.com
RE: Repetitive warnings on ErrorLogs.
Posted by "Houser, Rick" <Ho...@aoins.com>.
This is a known issue in IBM's 2.0.47 port of Apache (IHS), which was
fixed in a later upstream version (possibly by the 2.2.8 port, but I
really can't say for sure). It would take a lot of digging for me to
locate the specific version, so I'm going to pass on that one. At least
in my case, this message was completely harmless and could be ignored.
What version of Apache are you running? Does this message appear in the
latest stable release?
Thanks,
Rick Houser
Auto-Owners Insurance
Systems Support
(517)703-2580
> -----Original Message-----
> From: Jaysingh Samuel [mailto:jayasingh.samuel@hotmail.com]
> Sent: Tuesday, September 08, 2009 7:55 AM
> To: modules-dev@httpd.apache.org
> Subject: RE: Repetitive warnings on ErrorLogs.
>
>
> Hi soren,
> Thanks for useful information on this.
> We are not spawning children from the pre/post config, but
> still i could see the long lost child alerts. This alerts is
> coming only on graceful restart(SIGUSR) of the server and not
> on restart on the server.
> When i did debug on the worker server_main function i could
> see that after the run config is done for all the modules,
> there are many process ID thrown with "long lost child", and
> after that the server resumes with the children.
> Iam wondering is the alerts are showing because of the custom
> modules what we are using a longer time to finish with?.
> Please throw some light on this.
> Thanks in advance. Jaysingh Samuel
> > Date: Mon, 7 Sep 2009 08:51:25 +0200
> > Subject: Re: Repetitive warnings on ErrorLogs.
> > From: sorinm@gmail.com
> > To: modules-dev@httpd.apache.org
> >
> > On Mon, Sep 7, 2009 at 08:41, Jaysingh
> > Samuel<ja...@hotmail.com> wrote:
> > >
> > > Hi,
> > > We are getting the following warning's on the error Logs.
> The warning are shown at graceful restart of apache server.
> > >
> > > [warn] long lost child came home! (pid 31188)
> > >
> > > We are doing graceful restart of apache server every 30
> minutes and we get these warning repetitively, i have tested
> with the apache "restart" and that's not showing warning.
> > > Is this a fatal error?. More light on this regarding the
> cause and solution to stop this will be very helpful.
> > >
> > > Thanks in advance,Jaysingh Samuel.
> >
> >
> > Apache keeps its children in a table of process IDs, called the
> > scoreboard. Then, the main server, the one that has created and
> > started the children processes, waits on them. When the child exits,
> > the main server looks up the PID of the exiting child in the
> > scoreboard. If the child is not in the scoreboard, you get this
> > warning.
> >
> > It may occur if you start children from your main server
> (for example
> > in the pre/post_config hooks). As you start them yourself,
> they won't
> > be managed by apache, so their PIDs do not appear in the scoreboard.
> > This would be a "harmless" way in which you could get the
> warning when
> > you shut down your children.
> >
> > S
> >
> > --
> > A: Because it reverses the logical flow of conversation.
> > Q: Why is top-posting frowned upon?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
>
> _________________________________________________________________
> We all see it as it is. But on MSN India, the difference lies
> in perspective.
> http://in.msn.com
>
Re: Repetitive warnings on ErrorLogs.
Posted by Sorin Manolache <so...@gmail.com>.
On Tue, Sep 8, 2009 at 13:54, Jaysingh Samuel
<ja...@hotmail.com>wrote:
>
> Hi soren,
> Thanks for useful information on this.
> We are not spawning children from the pre/post config, but still i could
> see the long lost child alerts. This alerts is coming only on graceful
> restart(SIGUSR) of the server and not on restart on the server.
> When i did debug on the worker server_main function i could see that after
> the run config is done for all the modules, there are many process ID thrown
> with "long lost child", and after that the server resumes with the children.
> Iam wondering is the alerts are showing because of the custom modules what
> we are using a longer time to finish with?.
>
Well, I have no idea, but it could be the cause. Try putting a big
GracefulShutdownTimeout
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#gracefulshutdowntimeoutand
see what happens.
S
> Please throw some light on this.
> Thanks in advance. Jaysingh Samuel
> > Date: Mon, 7 Sep 2009 08:51:25 +0200
> > Subject: Re: Repetitive warnings on ErrorLogs.
> > From: sorinm@gmail.com
> > To: modules-dev@httpd.apache.org
> >
> > On Mon, Sep 7, 2009 at 08:41, Jaysingh
> > Samuel<ja...@hotmail.com> wrote:
> > >
> > > Hi,
> > > We are getting the following warning's on the error Logs. The warning
> are shown at graceful restart of apache server.
> > >
> > > [warn] long lost child came home! (pid 31188)
> > >
> > > We are doing graceful restart of apache server every 30 minutes and we
> get these warning repetitively, i have tested with the apache "restart" and
> that's not showing warning.
> > > Is this a fatal error?. More light on this regarding the cause and
> solution to stop this will be very helpful.
> > >
> > > Thanks in advance,Jaysingh Samuel.
> >
> >
> > Apache keeps its children in a table of process IDs, called the
> > scoreboard. Then, the main server, the one that has created and
> > started the children processes, waits on them. When the child exits,
> > the main server looks up the PID of the exiting child in the
> > scoreboard. If the child is not in the scoreboard, you get this
> > warning.
> >
> > It may occur if you start children from your main server (for example
> > in the pre/post_config hooks). As you start them yourself, they won't
> > be managed by apache, so their PIDs do not appear in the scoreboard.
> > This would be a "harmless" way in which you could get the warning when
> > you shut down your children.
> >
> > S
> >
> > --
> > A: Because it reverses the logical flow of conversation.
> > Q: Why is top-posting frowned upon?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
>
> _________________________________________________________________
> We all see it as it is. But on MSN India, the difference lies in
> perspective.
> http://in.msn.com
>
--
A: Because it reverses the logical flow of conversation.
Q: Why is top-posting frowned upon?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
RE: Repetitive warnings on ErrorLogs.
Posted by Jaysingh Samuel <ja...@hotmail.com>.
Hi soren,
Thanks for useful information on this.
We are not spawning children from the pre/post config, but still i could see the long lost child alerts. This alerts is coming only on graceful restart(SIGUSR) of the server and not on restart on the server.
When i did debug on the worker server_main function i could see that after the run config is done for all the modules, there are many process ID thrown with "long lost child", and after that the server resumes with the children.
Iam wondering is the alerts are showing because of the custom modules what we are using a longer time to finish with?.
Please throw some light on this.
Thanks in advance. Jaysingh Samuel
> Date: Mon, 7 Sep 2009 08:51:25 +0200
> Subject: Re: Repetitive warnings on ErrorLogs.
> From: sorinm@gmail.com
> To: modules-dev@httpd.apache.org
>
> On Mon, Sep 7, 2009 at 08:41, Jaysingh
> Samuel<ja...@hotmail.com> wrote:
> >
> > Hi,
> > We are getting the following warning's on the error Logs. The warning are shown at graceful restart of apache server.
> >
> > [warn] long lost child came home! (pid 31188)
> >
> > We are doing graceful restart of apache server every 30 minutes and we get these warning repetitively, i have tested with the apache "restart" and that's not showing warning.
> > Is this a fatal error?. More light on this regarding the cause and solution to stop this will be very helpful.
> >
> > Thanks in advance,Jaysingh Samuel.
>
>
> Apache keeps its children in a table of process IDs, called the
> scoreboard. Then, the main server, the one that has created and
> started the children processes, waits on them. When the child exits,
> the main server looks up the PID of the exiting child in the
> scoreboard. If the child is not in the scoreboard, you get this
> warning.
>
> It may occur if you start children from your main server (for example
> in the pre/post_config hooks). As you start them yourself, they won't
> be managed by apache, so their PIDs do not appear in the scoreboard.
> This would be a "harmless" way in which you could get the warning when
> you shut down your children.
>
> S
>
> --
> A: Because it reverses the logical flow of conversation.
> Q: Why is top-posting frowned upon?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
_________________________________________________________________
We all see it as it is. But on MSN India, the difference lies in perspective.
http://in.msn.com
Re: Repetitive warnings on ErrorLogs.
Posted by Sorin Manolache <so...@gmail.com>.
On Mon, Sep 7, 2009 at 08:41, Jaysingh
Samuel<ja...@hotmail.com> wrote:
>
> Hi,
> We are getting the following warning's on the error Logs. The warning are shown at graceful restart of apache server.
>
> [warn] long lost child came home! (pid 31188)
>
> We are doing graceful restart of apache server every 30 minutes and we get these warning repetitively, i have tested with the apache "restart" and that's not showing warning.
> Is this a fatal error?. More light on this regarding the cause and solution to stop this will be very helpful.
>
> Thanks in advance,Jaysingh Samuel.
Apache keeps its children in a table of process IDs, called the
scoreboard. Then, the main server, the one that has created and
started the children processes, waits on them. When the child exits,
the main server looks up the PID of the exiting child in the
scoreboard. If the child is not in the scoreboard, you get this
warning.
It may occur if you start children from your main server (for example
in the pre/post_config hooks). As you start them yourself, they won't
be managed by apache, so their PIDs do not appear in the scoreboard.
This would be a "harmless" way in which you could get the warning when
you shut down your children.
S
--
A: Because it reverses the logical flow of conversation.
Q: Why is top-posting frowned upon?
A: Top-posting.
Q: What is the most annoying thing in e-mail?