Jujimufu
02-26-2010, 03:22 PM
The server my forum is fine during normal hours, but when cpanel does its backup and/or scheduled updates the whole server freaks out because the forums won't give the cpu a break. :(
It's a vicious cycle where the cpu load spikes and then the server feels the need to dispatch an email every second indicating which process has a high load, and since the forums always have about 15 or more running processes it sends about 15 emails a minute, which creates even higher cpu load...blah blah.
Long story short the server will just freeze. I can't login via SSH to kill the processes or anything when the load is so high (it times out) and I have to submit a reboot ticket to my hosting company because with the load so high it'll take 2 hours for cpanel to do its backup.
Does anybody know of a script I could run that would halt httpd while cpanel does its backups/updates and just display a message to users saying "Performing scheduled backups, hang tight" or something simple - no db queries or anything. That would probably work like a charm?
Or any other solution to this problem? I'm running VB 3.8.4.
It's a vicious cycle where the cpu load spikes and then the server feels the need to dispatch an email every second indicating which process has a high load, and since the forums always have about 15 or more running processes it sends about 15 emails a minute, which creates even higher cpu load...blah blah.
Long story short the server will just freeze. I can't login via SSH to kill the processes or anything when the load is so high (it times out) and I have to submit a reboot ticket to my hosting company because with the load so high it'll take 2 hours for cpanel to do its backup.
Does anybody know of a script I could run that would halt httpd while cpanel does its backups/updates and just display a message to users saying "Performing scheduled backups, hang tight" or something simple - no db queries or anything. That would probably work like a charm?
Or any other solution to this problem? I'm running VB 3.8.4.