Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"parent server generation" help

Status
Not open for further replies.

lozzd

Technical User
Dec 8, 2004
4
GB
Hey there,
I've been told this means the server child is gracefully restarting.. and from the logs, yes, thats what its doing... but why? It seems when it gets more than a certain number of requests, it just restarts the child for some reason, that wouldnt be a problem but i use the rotatelogs.exe to generate 5mb log files but they never get that full because when a new child launches, a new log file is created.
I just found the "maxrequestsperchild" directive, and it was 0, so i changed it to 5000, and i changed max threads per child to 500 (so now i have 500 "idle workers") in an attempt to get it to restart.. time will tell if this works.
Thanks to any explanations I can get to this.. :)

Laurie
 
I think that's the message you get when something HUPs the httpd process to restart the logs. Is it happening at the same time each day?
 
Nope, like i said it happens at random points where the load on the web server gets to a certain amount, I THINK. there is no timebase for it, it just happens randomly depending on how busy the server is, so i guess it was hitting a virtual connection limit and restarting for no reason? Im running on Windows btw (ducks to avoid flames :))

Thanks for your reply
 
Ok, more info for you.
It just restarting again...

From the error log:
[Thu Dec 09 14:42:29 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting.
[Thu Dec 09 14:42:30 2004] [notice] Parent: Created child process 2896
[Thu Dec 09 14:42:31 2004] [notice] Child 2896: Child process is running
[Thu Dec 09 14:42:32 2004] [notice] Child 2896: Acquired the start mutex.
[Thu Dec 09 14:42:32 2004] [notice] Child 2896: Starting 500 worker threads.

This happened 29 seconds after a browser made 55 similtaneous requests, and no request happened in those 29 seconds.. As soon as the child had restarted, another request was made, and a new log was generated because a new instance of rotatelogs.exe was made.

Any chance anyone can help out with this problem? Its annoying to have many small logs with only 100kb of acceses in them when its meant to be waiting until 5mb.

Thanks
 
Haha! Point taken.
I wish i could do Linux. But I just don't have the kind of time to learn it, etc.
For me, everything makes sense in Windows...
until something like this happens.
Tonight, the child restarted 4 more times. 4 more logs created. grr.

Thanks anyway.
Anyone else have any bright ideas? please?!

Laurie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top