The question I have is what sort of things can down my server ?
Why are reboots often needed?
Is it just if server is down or something else?
Please explain me what sorts of reboots exist ?
Thanks
BurtonHost
09-22-2002, 05:04 AM
Reboot if mem is all used up (ram) - if swap is high or something like that - reboot if kernel is updated too.
Remote reboot if server crashes and you power cycle it to bring it back up. Is this what you mean?
ShockHost
09-22-2002, 05:27 AM
Yeah im sure that's what he met :)
Originally posted by BurtonHost
Reboot if mem is all used up (ram) - if swap is high or something like that - reboot if kernel is updated too.
Remote reboot if server crashes and you power cycle it to bring it back up. Is this what you mean?
Is there any option in Cpanel/WHM to configurate server to reboot automaticalyfor when this things happen? I mean like setting level of memory usage, swap and other and if that exceed, server reboot automaticaly .
skoop
09-22-2002, 07:32 AM
I don't think so (but I am not sure) but someone who is into linux a bit could probably write a simple script for that
lotuslnd
09-22-2002, 08:52 AM
i'd suggest finding out what's causing it instead of just rebooting when it happens ...
akashik
09-22-2002, 09:28 AM
a reboot should really be your last option. Most issues can be dealt with on the command line (hell many even by hitting a button in a control panel).
In my opinion the need to reboot a server is something that needs looking at. Linux is one of those things that generally plods along nicely all by itself without needing to be fiddled with too often - if things are running well. I know if I left this Windows desktop in front of me running for 9 months straight it'd be ready to explode. :)
Setting something to reboot automatically when a number is reached isn't that much of a solution. A server might peak for a second or three well into the red, but then drop back down again shortly after. If it gets to the stage where a reboot is needed things are usually at a point where the servers not really in much of a state to think for itself anymore.
Greg Moore
seg fault
09-22-2002, 09:38 AM
You should never have to reboot other than for a kernel update. Even then, they should be kept down to once every 3 - 6 months.
If your server is vulnerable, you can generally update your source without the need for a reboot.
If you reboot more than once every 3 months, you have a problem.