Apache slow, other services fast
Hello,
After server OS (Debian) reinstallation everything was OK and I opened my website to the visitors. After some time I noticed that Apache periodically becames very slow. I can 10-20 clicks and pages load immediately. Then for some 1-2 minutes I can hardly open some page. Then it works fast again. Sometimes 50% of the images on the page load very fast. Then loading freezes for some time, then continues loading again. Other users report the same problem. There are no spammers sending spam from this machine or something like that. When this problem happends, everything runs fast on the server, except Apache. Server load is only ~0.2 - 0.3. Apache configuration file has default settings and I was running this website with the same scripts and with th same Apache default settings for a long time. Never had problems. Hostname lookups are disabled. Any ideas? PHP Code:
|
I've had the same problem in the past.what i did ;i installed ATOP on my server to monitor my cpu and ram utilization.it's a nice tool.
in my case ,the mysqld was causing the problem.and it was overloding the CPU. so try ATOP to eliminate this possibility. good luck |
I changed Apache configuration file and the problem is gone. New settings:
PHP Code:
|
All times are GMT -5. The time now is 01:13 PM. |