|
Thanks for your quick response. Nick Kew wrote: With polling it I figure you just mean something along the lines of a "kill -0" to see if it's still running. So is there (when sending a TERM signal) some shutdown processes that can fail and cause Apache to abort the shutdown? Basically like "if ! httpd -k stop; then --failed--; fi". Simply because you can't determine for certain if the shutdown was successful or not, and to restart apache you have to rely on the restart signal or uncertain timeouts.
I understand this yes. This question was more along the lines of whether or not there is a reason one just sends and waits, or not IPC which returns only later or any one of the methods daemons can use to shutdown. We're open to patches if you have a better design. The design seems fine. Perhaps just some mechanism to track the shutdown? Or a command line switch to block the process until shutdown completed? With some guidance and advice I would be more than willing to implement something. Q Beukes |
- Apache Service Control Q Beukes
- Re: Apache Service Control Nick Kew
- Re: Apache Service Control Q Beukes
- Apache STOP Code Q Beukes
