Web Hosting Talk







View Full Version : Have to reset the HTTP server in CPanel daily?


jeffcougsfan
06-26-2009, 03:43 PM
for the last few weeks, my sites have been frequently failing to load (eventually goes to a "server is taking too long..." error). To fix this, I have been manually going into CPanel and restarting the HTTP server.

This fixes it temporarily, but I've had to do it as many as 10 times in one day.

I'm on a virtual dedicated server through GoDaddy. I called their support and they looked in and said that there was a script running as user "nobody" that was jamming up the ram on the server.

They wouldn't offer any more support, so my problem is that I don't know which of my sites is hosting this user "nobody". How can I figure this out? I saw on one thread that installing suPHP could help, but I'm a total newb.

What can I do?

darkeden
06-26-2009, 04:25 PM
for the last few weeks, my sites have been frequently failing to load (eventually goes to a "server is taking too long..." error). To fix this, I have been manually going into CPanel and restarting the HTTP server.

This fixes it temporarily, but I've had to do it as many as 10 times in one day.

I'm on a virtual dedicated server through GoDaddy. I called their support and they looked in and said that there was a script running as user "nobody" that was jamming up the ram on the server.

They wouldn't offer any more support, so my problem is that I don't know which of my sites is hosting this user "nobody". How can I figure this out? I saw on one thread that installing suPHP could help, but I'm a total newb.

What can I do?

well. do you have any apache logs or anything you could post?

ServerManagement
06-26-2009, 07:25 PM
All http processes run as nobody, so saying this is jamming the server is too vague to go by.

For cgi/php scripts you can use suexec/suphp to identify those processes, but you will still need to check the logs and the apache status to see what is going on.

petteyg359
06-26-2009, 11:33 PM
Why aren't you using suPHP (if it a PHP script) or FCGID so that scripts run under the user that owns them?

MarkioE
06-27-2009, 02:16 AM
Do you have SSH? You can do command: service httpd fullstatus (Depending on OS).

That should show any sites taking up a lot of resources. Check the process list in cPanel too.