mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
corrections coming up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80130 13f79535-47bb-0310-9956-ffa450edef68
131 lines
3.6 KiB
HTML
131 lines
3.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Hints on Running a High-Performance Web Server</TITLE>
|
|
</HEAD>
|
|
|
|
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
|
|
<BODY
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#000080"
|
|
ALINK="#FF0000"
|
|
>
|
|
<!--#include virtual="header.html" -->
|
|
<H1 ALIGN="CENTER">Hints on Running a High-Performance Web Server</H1>
|
|
|
|
Running Apache on a heavily loaded web server, one often encounters
|
|
problems related to the machine and OS configuration. "Heavy" is
|
|
relative, of course - but if you are seeing more than a couple hits
|
|
per second on a sustained basis you should consult the pointers on
|
|
this page. In general the suggestions involve how to tune your kernel
|
|
for the heavier TCP load, hardware/software conflicts that arise, etc.
|
|
|
|
<UL>
|
|
<LI><A HREF="#AUX">A/UX (Apple's UNIX)</A>
|
|
<LI><A HREF="#BSD">BSD-based (BSDI, FreeBSD, etc)</A>
|
|
<LI><A HREF="#DEC">Digital UNIX</A>
|
|
<LI><A HREF="perf-hp.html">HPUX</A>
|
|
<LI><A HREF="#Linux">Linux</A>
|
|
<LI><A HREF="#Solaris">Solaris</A>
|
|
<LI><A HREF="#SunOS">SunOS 4.x</A>
|
|
</UL>
|
|
|
|
<HR>
|
|
|
|
<H3><A NAME="AUX">
|
|
A/UX (Apple's UNIX)
|
|
</A></H3>
|
|
|
|
If you are running Apache on A/UX, a page that gives some helpful
|
|
performance hints (concerning the <EM>listen()</EM> queue and using
|
|
virtual hosts)
|
|
<A HREF="http://www.jaguNET.com/apache.html">can be found here</A>
|
|
|
|
<P><HR>
|
|
|
|
<H3><A NAME="BSD">
|
|
BSD-based (BSDI, FreeBSD, etc)
|
|
</A></H3>
|
|
|
|
<A HREF="perf-bsd44.html#initial">Quick</A> and
|
|
<A HREF="perf-bsd44.html#detail">detailed</A>
|
|
performance tuning hints for BSD-derived systems.
|
|
|
|
<P><HR>
|
|
|
|
<H3><A NAME="DEC">
|
|
Digital UNIX
|
|
</A></H3>
|
|
|
|
<UL>
|
|
<LI><A
|
|
HREF="http://www.digital.com/info/internet/document/ias/tuning.html"
|
|
>DIGITAL UNIX Tuning Parameters for Web Servers</A>
|
|
<LI>We have some <A HREF="perf-dec.html">newsgroup postings</A> on how
|
|
to tune Digital UNIX 3.2 and 4.0.
|
|
</UL>
|
|
|
|
<P><HR>
|
|
|
|
<H3><A NAME="Linux">
|
|
Linux
|
|
</A></H3>
|
|
|
|
The most common problem on Linux shows up on heavily-loaded systems
|
|
where the whole server will appear to freeze for a couple of minutes
|
|
at a time, and then come back to life. This has been traced to a
|
|
listen() queue overload - certain Linux implementations have a low
|
|
value set for the incoming connection queue which can cause problems.
|
|
Please see our <A
|
|
HREF="http://www.qosina.com/~awm/apache/linux-tcp.html">Using Apache on
|
|
Linux</A> page for more info on how to fix this.
|
|
|
|
<P><HR>
|
|
|
|
<H3><A NAME="Solaris">
|
|
Solaris 2.4
|
|
</A></H3>
|
|
|
|
The Solaris 2.4 TCP implementation has a few inherent limitations that
|
|
only became apparent under heavy loads. This has been fixed to some
|
|
extent in 2.5 (and completely revamped in 2.6), but for now consult
|
|
the following URL for tips on how to expand the capabilities if you
|
|
are finding slowdowns and lags are hurting performance.
|
|
|
|
<P>
|
|
|
|
Other links:
|
|
|
|
<UL>
|
|
|
|
<LI><A HREF="http://www.sun.com/sun-on-net/performance.html">
|
|
World Wide Web Server Performance,
|
|
<http://www.sun.com/sun-on-net/performance.html></A>
|
|
<LI><A HREF="http://www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html">
|
|
Solaris 2.x - tuning your TCP/IP stack</A> contains some good technical
|
|
information about tuning various Solaris TCP/IP parameters.
|
|
</UL>
|
|
|
|
<P><HR>
|
|
|
|
<H3><A NAME="SunOS">
|
|
SunOS 4.x
|
|
</A></H3>
|
|
|
|
More information on tuning SOMAXCONN on SunOS can be found at
|
|
<A HREF="http://www.islandnet.com/~mark/somaxconn.html">
|
|
http://www.islandnet.com/~mark/somaxconn.html</A>.
|
|
|
|
<P><HR>
|
|
|
|
<H3>More welcome!</H3>
|
|
|
|
If you have tips to contribute, send mail to <A
|
|
HREF="mailto:brian@organic.com">brian@organic.com</A>
|
|
|
|
<!--#include virtual="footer.html" -->
|
|
</BODY></HTML>
|
|
|