infiniteecho

Registered
Aug 30, 2008
3
0
51
So, I have been using cpanel for a while now. Once in a while I would have issues with httpd timing out. I setup monitoring so that cPanel would automagically restart the dead process.

Well, now serving traffic from the cpanel install is impossible, httpd is just dead all together for clients. WHM works perfectly.

Any thoughts?

I am stumped.

Thanks for any input.

--Echo
 

RobertNikic

Active Member
Jun 20, 2008
31
0
56
Tampa Bay
So, I have been using cpanel for a while now. Once in a while I would have issues with httpd timing out. I setup monitoring so that cPanel would automagically restart the dead process.

Well, now serving traffic from the cpanel install is impossible, httpd is just dead all together for clients. WHM works perfectly.

Any thoughts?

I am stumped.

Thanks for any input.

--Echo
Hello,

I would suggest restarting the httpd service.
service httpd restart
I would also suggest looking into the httpd error log for further information.

/var/log/httpd/error_log
If you have any further questions, feel free to contact me.
 

infiniteecho

Registered
Aug 30, 2008
3
0
51
So look like there is nothing useful in either place:

# service httpd configtest
Syntax OK

# cat /var/log/httpd/error_log
#


I might add that this is on a VPS. I own the company and I know the VPS nodes are not overloaded or oversold, neither is the cpanel install. So I know load is not contributing to the problem.

--Echo
 

infiniteecho

Registered
Aug 30, 2008
3
0
51
Hello,

Thanks for the fast replies.

I have restarted httpd about 30 times and it didn't make much difference.

I will have a look at the logs and config.

Thanks again for the input, I will have a look and report back.

--Echo
 

koolcards

Well-Known Member
Oct 8, 2003
146
0
166
Tampa, Fl
Check your MySQL processes and see if some of the queries aren't holding the httpd processes open and maxing out your max servers setting.

While running 'top', shut apache down completely and see if all the httpd processes actually shut down. If a database query is hanging, sometimes the parent httpd process won't close on a graceful restart and you may have to kill each manually.

Keep us updated and let us know what you find.