httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Schlossnagle <geo...@omniti.com>
Subject Re: [users@httpd] Apache Optimization.
Date Tue, 06 Jan 2004 14:54:23 GMT

On Jan 6, 2004, at 8:39 AM, Richard Correia wrote:

> Hi Vishal,
>
> You should minimize Timeout value.
> Check how much time average script takes and set this time to that.
>
> I have faced similar problem. My script was taking only one second to 
> do
> work but it was held for 299 seconds for nothing. I am getting avg.70
> hits per second of such script. I have turned off KeepAlive .
>
> Turning of KeepAlive will have bad impact if you are hosting websites
> with multiples images,js,css files on every page.

This is really a fallacy.  If you have more clients visit inside 
timeout than you have available children, KeepAlive on will always 
result in loss of service for the remaining users.  In a pre-fork 
model, KeepAlive on almost never ever makes sense.

George


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message