Prev Previous Post   Next Post Next
  #1  
Old 12th December 2011, 21:31
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
Default Apache2 high load

For a week or so, I have high load (2.5-3.0 and higher) by some Apache2 processes.

top:
Code:
top - 20:18:52 up 216 days, 21:59,  2 users,  load average: 2.17, 2.14, 2.22
Tasks: 143 total,   2 running, 141 sleeping,   0 stopped,   0 zombie
Cpu(s): 41.7%us, 10.1%sy,  0.0%ni, 43.0%id,  5.1%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   3501248k total,  3262216k used,   239032k free,    71156k buffers
Swap:  3879608k total,     6556k used,  3873052k free,  1763000k cached
Top also says, that problem is in apache 2 processes:

Code:
25118 www-data  20   0 57804  30m 5344 S   62  0.9   0:06.02 apache2
24741 www-data  20   0 65432  35m 5888 R   17  1.1   0:16.92 apache2
Now, lsof -p 25118 says:

Code:
apache2 25118 www-data   39w   REG  
apache2 25118 www-data  115w   REG        9,0     9496  11617510 /var/log/ispconfig/httpd/different_site.tld/error.log
apache2 25118 www-data  116w   REG        9,0        0  11174773 /var/log/ispconfig/httpd/different_site.tld/error.log
apache2 25118 www-data  117w   REG        9,0    67835  13705429 /var/log/ispconfig/httpd/different_site.tld/error.log
apache2 25118 www-data  118w   REG        9,0     1132  11985162 /var/log/ispconfig/httpd/different_site.tld/error.log
apache2 25118 www-data  119w   REG        9,0     2105  11953680 /var/log/ispconfig/httpd/different_site.tld/error.log
apache2 25118 www-data  120w   REG    
apache2 25118 www-data  158u  0000        0,7        0        13 anon_inode
apache2 25118 www-data  159w  FIFO        0,6          311222313 pipe
apache2 25118 www-data  160w   REG        9,0   390207  10831840 /var/log/apache2/access.log
apache2 25118 www-data  161w   REG        9,0        0  10829864 /var/run/apache2/ssl_mutex (deleted)
apache2 25118 www-data  162r  FIFO        0,6          311222319 pipe
apache2 25118 www-data  163w  FIFO        0,6          311222319 pipe
apache2 25118 www-data  164w  FIFO        0,6          311222315 pipe
apache2 25118 www-data  165r  FIFO        0,6          311222320 pipe
apache2 25118 www-data  166w  FIFO        0,6          311222316 pipe
apache2 25118 www-data  167w  FIFO        0,6          311222320 pipe
Note: different_site is actualy real website.
As far as I can see, reason for load is apache2 writing custom error logs.
Now, I need your suggestion, how to fix this?
Disable apache2 error logging? Or am I interpreting readings totaly wrong?
I'm running Etch with ISPC3.

Any comment, advice is appritiated.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.1.4 causes Apache to have too many open files gkovacs Installation/Configuration 29 27th February 2013 09:59
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
High Availability (Load Balancing) behind a firewall geek.de.nz Server Operation 7 4th January 2011 14:58
Asterisk/FreePBX on Linode: High load averages with Linux EC2 Image jscholes Kernel Questions 6 25th October 2010 17:39
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29


All times are GMT +2. The time now is 20:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.