Re: Apache 2.2 optimization -> Three tips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22 Mar 2010, at 08:34, Geoff Millikan wrote:

> Here's three things I wish I had read about Apache optimization that are not
> commonly discussed (we found out by years of trial and error).

Thanks for sharing!

> 1. Set your KeepAliveTimeout to 3 seconds or less.

+1.  Isn't that documented?  I'm surprised!

> 2. Turn off atime "accesss time" by using noatime.

Interesting!  Do you have any insights into how this varies with filesystem
and operating system/hardware behaviour?  If this comes close to the
difference made by .htaccess, I'd be looking at what lies beneath.

> 3. Increase your StartServers to the number of maximum requests on your
> biggest page.

I'm with wrowe on this one: what you're getting is coincidence if anything.
Your clients should be using keepalive for objects on a page.
Furthermore, what you describe appears to assume prefork MPM,
which is unlikely to be the best solution where performance is an issue.

> Money and premature optimization is the root of all evil.

:-)

-- 
Nick Kew
---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux