ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Apache Log! (http://forum.ispsystem.com//showthread.php?t=1046)

BeoNET 05-07-2010 03:03 AM

Apache Log!
 
In last two days my server is a little bit slower, some pages doesn't open completely. I found something very strange in httpd log.

Code:

[info] [client 188.2.238.220] (70007)The timeout specified has expired: core_output_filter: writing data to the network
[Fri May 07 00:46:08 2010] [info] [client 77.29.14.111] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri May 07 00:46:08 2010] [info] [client 77.29.14.111] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri May 07 00:46:08 2010] [info] [client 77.29.14.111] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri May 07 00:46:08 2010] [info] [client 77.29.14.111] (32)Broken pipe: core_output_filter: writing data to the network
[Fri May 07 00:46:10 2010] [info] [client 77.29.14.111] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri May 07 00:46:53 2010] [info] [client 85.222.170.103] (32)Broken pipe: core_output_filter: writing data to the network
[Fri May 07 00:47:30 2010] [info] [client 85.222.170.103] (32)Broken pipe: core_output_filter: writing data to the network
[Fri May 07 00:47:35 2010] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 3 idle, and 24 total children
[Fri May 07 00:49:29 2010] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 6 idle, and 23 total children

Parameter "23 total children" sometimes goes to 50 and above. What all this means, is this some kind of attack or something similar. None of the configuration wasn't changed. This is server with 50 domains!

Server is CentOS Linux with Apache 2.2.3

Any ideas!!

Thanks!!!

slava 05-10-2010 08:32 PM

Try to change parameters in the httpd.conf such as

Code:

Timeout 180
KeepAlive Off

<IfModule prefork.c>
StartServers      2
MinSpareServers    5
MaxSpareServers  10
MaxClients      100
MaxRequestsPerChild  4000
</IfModule>


BeoNET 05-16-2010 07:35 PM

Thnx Slava,

But I also have worker.c module! What about this module. Is it normal to both of them prefork.c and worker.c are loaded?


All times are GMT +2. The time now is 02:36 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.