Apache problems

Im not sure what has caused this because a few things have been to the server in the last few days, we have edited the apache config settings but have moved them back to the originals, we have moved over 80 accounts to the server too but the daily cpu usage shows nothing high...

We have removed all the mod_security config like someone else suggested in another topid but this made no difference, we have many many changes to the config files including changing of memory limits but it seems to make no difference.

Its only started happening for the last few days and wondered if anyone has any suggested we can try to resolved this

I have one major issue, I get lots of compalins from visitators of different sites hosted on this server claiming sites running slow or quite not displaying.

I have upgraded this 3 weeks ago, the hardware is quite performant, Load Average is excelent, moemory, only 120 sites hosted on this server, no high bandwidth utilisation ...effectively I do not see effective reason in regard the utilisation.
I have also adjusted the Apache parameters and have tried to change the settings in order to get best optimisations. I have no other choices.
I have set statistics time not to start at the respective hours, I have configured Apache to log minimum ....etc

An important observation is that the time response becomes critical(50 seconds) starting by 7 AM CST (14.00 server time) and takes couple of hours 2 PM CST (20 PM server time). Out of these hours, it works excelent.

Im not sure what has caused this because a few things have been to the server in the last few days, we have edited the apache config settings but have moved them back to the originals, we have moved over 80 accounts to the server too but the daily cpu usage shows nothing high...

We have removed all the mod_security config like someone else suggested in another topid but this made no difference, we have many many changes to the config files including changing of memory limits but it seems to make no difference.

Its only started happening for the last few days and wondered if anyone has any suggested we can try to resolved this

If you do need anymore information to work with please do let me know

thanks
martyn

Click to expand...

I just upgraded to the most recent cPanel version and I am having the same thing. Higher server loads, lots of nobody httpd processes, and have an identical setup to yourself with CentOS 5.4, suPHP, Apache, etc.

Not sure what is going on... going to wait a day or so see if it settles. Please let me know if you resolve it.

Well I can confirm its definitely software related and nothing to do with hardware or amount of accounts... Due to some other problems with our server I backed up all accounts and reinstalled the OS, I re-setup up the server how it was and then restored all the accounts again, I'm running smoothly now.

Thats tells me its only a setting and can be resolved if someone can pinpoint what the problem is.

Yeah you will always have many of them in the processor list but when they start hitting very high CPU loads is when you want to worry... At first I was not sure this was normal to see them in the process list I think thats because I never really noticed them until I got the high loads... I had the exact same problem where it start off very low and got worse every day until one day I saw in the daily process log that it was hitting 130% + all the time.

I am beginning to see some lower server loads (< 1), however still get out of the ordinary spikes (> 10).

I originally had the spareservers etc set in the pre-main include: /usr/local/apache/conf/includes/pre_main_2.conf. However, cPanel also has some of these settings in the global configuration which gets compiled in the httpd.conf itself. I updated both to be the same.

Might be just a matter of tweaking some Apache settings. The higher server loads don't ground my server to a halt, but they are definitely more noticible when compared to before I updated cPanel recently.