Hello, I had to upgrade to a dedicated server and have a question.. -- Do people have a scheduled reboot for their dedicated servers to refresh apache or is there and command where you can just restart the apache.. if yes, how often do you restart your server and what is the command? ( I have plesk 8.0.1) if no, how long do you leave your servers up and running before rebooting? Any help on this would be greatly appreciated! Regards, Zack
Why would you refresh apache? my server's been online for 152 days now,there's no reason to reboot unless you upgrade the kernel or hardware you shouldn't ever need to restart apache unless it starts to hang or cause problems...
What do you mean by "refresh Apache" ? If it is a unix box then there is no need to reboot for everything you would in Windows-world. If you patch the kernel then you'll need to reboot - otherwise there's usually no need to reboot the box. I have several boxes receiving 1.25 million hits/day and they have been running solidly like that for the last ~120 days. If it's a Loonix box, then some distros their own way of handling service start ups etc. Something like this might work: $ service httpd restart Code (markup): Apache includes its own control script, apachectl. If using this (as you might on a BSD box), then you might use a command like: /usr/local/sbin/apachectl graceful Code (markup): this will restart Apache while honouring surrent connection requests.
Well it is my first dedicated server and didn't know if it would be a good idea to restart the server.. For example if I leave my pc computer on for a couple of days, a restart always speeds everything back up.. just wondering if it was the same for the dedicated server.. Thanks for the help. Regards, Zack
Hello, Windows - needs to be restarted from time to time Linux - only if hardware or kernel updates. regards, Fallen