[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Apache processes consume almost all CPU (Plesk 7.5.4 FedoraCore)

Asked by poisa in Apache Web Server, Linux Administration, Linux

Tags: plesk, apache, processes

I'm running a Plesk server (7.5.4) and all of a sudden since yesterday, the httpd server starts hoggin up the processor. It slowly grows over time taking the average load from 0.8 to 38 in a few hours.

I'm attaching the result of the "top" command.

I tried looking at the apache logs for strange movement with the command "tail -f /var/log/httpd/access_log" but that specific log file seems to not be gathering much. I mean, there is around 7Mb of data BUT when I open a page in the browser it does not show up in this log but in the log file located at /var/www/vhosts/domain.com/statistics/logs/access_log.

So... is there a way to know which domain is generating that much processor load at all? How can I know which log to look at?

Any help is MUCH appreciated...
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
top - 19:47:21 up 16:03,  3 users,  load average: 2.31, 2.38, 2.53
Tasks: 161 total,   4 running, 157 sleeping,   0 stopped,   0 zombie
Cpu(s): 65.2% us,  3.4% sy,  0.0% ni, 28.1% id,  0.0% wa,  1.1% hi,  2.2% si
Mem:   1026640k total,   970364k used,    56276k free,   100292k buffers
Swap:  2096472k total,       40k used,  2096432k free,   426700k cached
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
20482 apache    16   0 57084  33m 8248 R 18.1  3.4   2:19.41 httpd
20481 apache    15   0 56920  33m 8248 S 14.7  3.4   2:23.09 httpd
20479 apache    15   0 56964  33m 8248 S 13.5  3.4   1:34.26 httpd
20484 apache    16   0 56960  33m 8248 R 12.4  3.4   2:12.40 httpd
20483 apache    16   0 56828  33m 8248 R  7.9  3.4   2:25.26 httpd
 3010 mailman   16   0 11292 5516 2140 S  1.1  0.5   0:01.27 python
 8739 mnd       16   0  3600 1072  732 R  1.1  0.1  10:43.80 top
21171 apache    15   0 62268  39m 8604 S  1.1  3.9   0:01.96 httpd
    1 root      16   0  2352  460  392 S  0.0  0.0   0:00.86 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.39 ksoftirqd/0
[+][-]11/30/07 05:17 PM, ID: 20386536Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Apache Web Server, Linux Administration, Linux
Tags: plesk, apache, processes
Sign Up Now!
Solution Provided By: WizRd-Linux
Participating Experts: 1
Solution Grade: A
 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628