How to force apache To reload it's conf file?????
Before you jump to answer: "why dont you do /apachectl graceful or kill -HUD "cat apache.pid" etc.." i tell you that this simply wont do the trick :(
Anyway, what i need is to force apache re-read it's configuration file without killing any child (i use apache2 with prefork) Why? Simple i need to be able to configure MaxClients and KeepAliveTimeout online. Any ideas?? |
Perhaps "kill -HUP" would be better instead of kill "-HUD"? Or perhaps that's just a typo and you are already using HUP.
The "kill -HUP" approach is what the "service httpd reload" command will do, so if that doesn't work, I don't know what would. |
Quote:
to fetch the MaxClients directive. I think it's prefork.c (for mpm=prefork) but it's a royal mess in there so we'll see if i manage lol.:p |
All times are GMT -5. The time now is 08:52 PM. |