Apache 2 very slow when there is a load

3 posts / 0 new
Last post
#1 Thu, 05/10/2012 - 03:22
aztecanet

Apache 2 very slow when there is a load

Although the apache 2 server is busy the cpu load is not high. The response is slow and I see these errors in the apache log file.

I try these values in my apache2.conf file and although performance improved it was still slow.

EnableSendfile Off EnableMMAP Off

These values appear in my log

[Thu May 10 01:06:04 2012] [info] [client 166.137.136.113] (32)Broken pipe: core_output_filter: writing data to the network [Thu May 10 01:06:04 2012] [info] [client 166.137.136.113] (32)Broken pipe: core_output_filter: writing data to the network [Thu May 10 01:06:04 2012] [info] [client 166.137.136.113] (32)Broken pipe: core_output_filter: writing data to the network [Thu May 10 01:06:04 2012] [info] [client 166.137.136.113] (32)Broken pipe: core_output_filter: writing data to the network [Thu May 10 01:06:04 2012] [info] [client 166.137.136.113] (32)Broken pipe: core_output_filter: writing data to the network [Thu May 10 01:07:35 2012] [info] [client 66.87.116.215] (32)Broken pipe: core_output_filter: writing data to the network data to the network

Thu, 05/10/2012 - 07:56
andreychek

Howdy,

Is it the application you're website is using that's slow?

Or is it everything being served by Apache?

For example, if you make a file named "test.php", try putting this in it:

<?php phpinfo(); ?>

After doing that, does test.php load quickly? Or is it slow too?

-Eric

Thu, 05/10/2012 - 11:17 (Reply to #2)
aztecanet

The application also interfaces with a remote postgresql database. There are no errors when there is no load.

Topic locked