Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Regularly recapture memory used by Apache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Regularly recapture memory used by Apache
Authored by: nvdingo on Nov 21, '05 09:16:44AM

Not that disruptive.

the graceful option allows a running httpd process to finish what it is doing without interrupting the client that is using it, once the processes are done, they respawn, releasing memory and reloading the configuration file.

I have never been able to notice a graceful restart on my development server when i do it.
I actively hit my site while i do it each time, to make sure it reloaded correctly, and that it doesn't hang, because sometimes, if you made changes to the config, it will hang and not give you an error on the command line.

that is the only time i ever notice an interruption during graceful restart, when it fails to restart



[ Reply to This | # ]
Regularly recapture memory used by Apache
Authored by: nvdingo on Nov 21, '05 09:25:51AM

however, looking at the crontab entry there, it may be a bit excessive to gracerfully restart apache that often.

How about you schedule your run of your memory intensive operations (if possible) and schedule your gracful restart to happen after that.



[ Reply to This | # ]