There is something wrong with the server...

Dash

I Ireland
Staff member
Supreme Dictator
There is something wrong with the server...

I now know the wonder of /scripts/restartsrv apache so hopefully the downtimes won't be so big...


But there is something seriously wrong, and we need to work to fix it. ;_;
 

KusumuKoinu

New Member
So Apache is turning itself off randomly without any errors or forewarning?

I've had this happen to me before, back in my VPS days. Check httpd.conf for anything that might've been screwy. Although FutureHosting loved to randomly kill httpd and proftpd all the time for me. I dunno if that's who you guys are with or not.
 

Dash

I Ireland
Staff member
Supreme Dictator
...that is who we're with. :confused: Thanks for that tidbit of knowledge.
 

pawitp

Tech Admin
Staff member
A lot of VZ VPSes I dealt with have their share of "process killing" problem. The best way to cope with this is to have a service monitorer (not to mention Windows has one). Or the numbers of visitor is plainly too large for the server to manage.
 

Rawh

XDCC Bot Owner
You lot actually have root login to monitor the server. Or is it just shell access? I could brew up a script which check if apache is running, and start / restart it if needed?
 

KusumuKoinu

New Member
It's been a long time, but I think all you need to monitor is the ability to run "ps -aux". I think it can be done with Sudo.

I could brew up a script which check if apache is running, and start / restart it if needed?

You could make a shell script that checks if httpd is running, and have Cron run it every once in a while. Should be as simple as getting a list of running processes and grep'ing the output to see if it's running.
 
Top