688N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
688N/A<
title>Hints on Running a High-Performance Web Server</
title>
919N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) --> 919N/A<
h1 ALIGN="CENTER">Hints on Running a High-Performance Web Server</
H1>
919N/ARunning Apache on a heavily loaded web server, one often encounters
919N/Aproblems related to the machine and OS configuration. "Heavy" is
919N/Arelative, of course - but if you are seeing more than a couple hits
919N/Aper second on a sustained basis you should consult the pointers on
688N/Athis page. In general the suggestions involve how to tune your kernel
1112N/A<
LI><
A HREF="#BSD">BSD-based (BSDI, FreeBSD, etc)</
A>
1112N/A<
LI><
A HREF="#DEC">Digital UNIX</
A>
1112N/A<
LI><
A HREF="#Linux">Linux</
A>
1112N/A<
LI><
A HREF="#Solaris">Solaris</
A>
1549N/AIf you are running Apache on
A/
UX, a page that gives some helpful
688N/Aperformance hints (concerning the <
I>listen()</
I> queue and using
1549N/ABSD-based (BSDI, FreeBSD, etc)
688N/Aperformance tuning hints for BSD-derived systems.
1549N/A >DIGITAL UNIX Tuning Parameters for Web Servers</
A>
1549N/A to tune Digital UNIX 3.2 and 4.0.
1549N/AThe most common problem on Linux shows up on heavily-loaded systems
1549N/Awhere the whole server will appear to freeze for a couple of minutes
1549N/Aat a time, and then come back to life. This has been traced to a
1549N/Alisten() queue overload - certain Linux implementations have a low
1549N/Avalue set for the incoming connection queue which can cause problems.
1549N/ALinux</
a> page for more info on how to fix this.
688N/AWebFORCE Web Server Tuning Guidelines for IRIX 5.3,
688N/AThe Solaris 2.4 TCP implementation has a few inherent limitations that
688N/Aonly became apparent under heavy loads. This has been fixed to some
688N/Aextent in 2.5 (and completely revamped in 2.6), but for now consult
688N/Athe following URL for tips on how to expand the capabilities if you
1549N/Aare finding slowdowns and lags are hurting performance.
688N/AWorld Wide Web Server Performance,
688N/AMore information on tuning SOMAXCONN on SunOS can be found at
688N/AIf you have tips to contribute, send mail to <
a 688N/Ahref="mailto:brian@organic.com">brian@organic.com</
a>