1
0
mirror of https://github.com/apache/httpd.git synced 2025-05-20 13:53:45 +03:00

16 Commits

Author SHA1 Message Date
Ken Coar
681f8e5fec More documentation consistency cleanup for 1.3.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82066 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 14:15:02 +00:00
Ken Coar
1b19735a79 Part 2 of the semi-regular HTML normalisation. Now on to
apache-site...  No thirty.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81322 13f79535-47bb-0310-9956-ffa450edef68
1998-05-20 14:22:48 +00:00
Ken Coar
07050bb5be A truly mighty mod normalising HTML tags to uppercase, and
'i' and 'b' to 'EM' and 'STRONG' respectively.  Been threatening
	to do this for months.. no-one need try to maintain this when
	writing/modifiying the docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80021 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 16:54:35 +00:00
brian
47c02cdde2 PR:
If SCO's going to break their links, I'm not going to go searching for where they
moved it to.

Cold and rainy and dark.
ml" -->

<H1 ALIGN="CENTER">Connections in the FIN_WAIT_2 state and Apache</H1>
<OL>
<LI><H2>What is the FIN_WAIT_2 state?</H2>
Starting with the Apache 1.2 betas, people are reporting many more
connections in the FIN_WAIT_2 state (as reported by
<code>netstat</code>) than they saw using older versions.  When the
server closes a TCP connection, it sends a packet with the FIN bit
sent to the client, which then responds with a packet with the ACK bit
set.  The client then sends a packet with the FIN bit set to the
server, which responds with an ACK and the connection is closed.  The
state that the connection is in during the period between when the
server gets the ACK from the client and the server gets the FIN from
the client is known as FIN_WAIT_2.  See the <A
HREF="ftp://ds.internic.net/rfc/rfc793.txt">TCP RFC</A> for the
technical details of the state transitions.<P>

The FIN_WAIT_2 state is somewhat unusual in that there is no timeout
defined in the standard for it.  This means that on many operating
systems, a connection in the FIN_WAIT_2 state will stay around until
the system is rebooted.  If the system does not have a timeout and
too many FIN_WAIT_2 connections build up, it can fill up the space
allocated for storing information about the connections and crash
the kernel.  The connections in FIN_WAIT_2 do not tie up an httpd
process.<P>

<LI><H2>But why does it happen?</H2>

There are numerous reasons for it happening, some of them may not
yet be fully clear.  What is known follows.<P>

<H3>Buggy clients and persistent connections</H3>

Several clients have a bug which pops up when dealing with
<A HREF="../keepalive.html">persistent connections</A> (aka keepalives).
When the connection is idle and the server closes the connection
(based on the <A HREF="../mod/core.html#keepalivetimeout">
KeepAliveTimeout</A>), the client is programmed so that the client does
not send back a FIN and ACK to the server.  This means that the
connection stays in the FIN_WAIT_2 state until one of the following
happens:<P>
<UL>
        <LI>The client opens a new connection to the same or a different
            site, which causes it to fully close the older connection on
            that socket.
        <LI>The user exits the client, which on some (most?) clients
            causes the OS to fully shutdown the connection.
        <LI>The FIN_WAIT_2 times out, on servers that have a timeout
            for this state.
</UL><P>
If you are lucky, this means that the buggy client will fully close the
connection and release the resources on your server.  However, there
are some cases where the socket is never fully closed, such as a dialup
client disconnecting from their provider before closing the client.
In addition, a client might sit idle for days without making another
connection, and thus may hold its end of the socket open for days
even though it has no further use for it.
<STRONG>This is a bug in the browser or in its operating system's
TCP implementation.</STRONG>  <P>

The clients on which this problem has been verified to exist:<P>
<UL>
        <LI>Mozilla/3.01 (X11; I; FreeBSD 2.1.5-RELEASE i386)
        <LI>Mozilla/2.02 (X11; I; FreeBSD 2.1.5-RELEASE i386)
        <LI>Mozilla/3.01Gold (X11; I; SunOS 5.5 sun4m)
        <LI>MSIE 3.01 on the Macintosh
        <LI>MSIE 3.01 on Windows 95
</UL><P>

This does not appear to be a problem on:
<UL>
        <LI>Mozilla/3.01 (Win95; I)
</UL>
<P>

It is expected that many other clients have the same problem. What a
client <STRONG>should do</STRONG> is periodically check its open
socket(s) to see if they have been closed by the server, and close their
side of the connection if the server has closed.  This check need /export/home/cvs/CVSROOT/cvsedit


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80009 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 06:58:31 +00:00
Marc Slemko
0adb26e9cb Update the fin_wait_2 page to reflect the current understanding
of the issues; remove the suggestion that Apache is buggy, since
no bugs have been found in that code.  It now appears most likely
that it is just the result of a bad interaction.  The real solution,
as always, is still a timeout for FIN_WAIT_2.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79161 13f79535-47bb-0310-9956-ffa450edef68
1997-09-07 03:10:58 +00:00
Marc Slemko
7f295dd215 Fix Squent typo.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78975 13f79535-47bb-0310-9956-ffa450edef68
1997-08-17 05:55:54 +00:00
Ken Coar
87226ebeb8 More HTML cleanups, retrofit of intentional <XA> tag to a no-op
<A NAME> (thanks, Marc).  Lots of trailing blanks removed throughout.
	Small addition to the new_features_1_3 page.  Plenty of
	cleanup still to come..


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78545 13f79535-47bb-0310-9956-ffa450edef68
1997-07-06 17:19:19 +00:00
dgaudet
593f4efb75 Update bind-8.1 docs in FAQ.
Update known_bugs with 1.2.1 relevance.
Remove some 192.168.x.x host references in known_bugs.
Add note about sunos 4.x and KeepAlive off.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78406 13f79535-47bb-0310-9956-ffa450edef68
1997-06-28 20:55:43 +00:00
Ken Coar
b209756b03 Removal of the Evil TAB Characters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78364 13f79535-47bb-0310-9956-ffa450edef68
1997-06-24 18:39:39 +00:00
Ken Coar
97829d3fee Online docs appearance rework: pass 1, phase 2 - the
htdocs/manual/misc directory.  Colour scheme set up and
	page-top stuff centred.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78225 13f79535-47bb-0310-9956-ffa450edef68
1997-06-04 11:42:58 +00:00
Marc Slemko
b635c5ab45 Add info on IRIX patches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78162 13f79535-47bb-0310-9956-ffa450edef68
1997-05-22 03:06:44 +00:00
Marc Slemko
12e17e74b5 Big spelling and HTML cleanup of docs. Thanks go to weblint and ispell
and their authors.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78081 13f79535-47bb-0310-9956-ffa450edef68
1997-05-01 05:27:03 +00:00
Marc Slemko
b5b688e9d3 Update systems w/FIN_WAIT_2 timeout to reflect info I have received.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77605 13f79535-47bb-0310-9956-ffa450edef68
1997-02-12 05:11:26 +00:00
Roy T. Fielding
5ea9107c1c Adjusted some of the explanations of the FIN_WAIT_2 problems to
accurately reflect the current status, reasons why it occurs, and
what client authors should be doing.  Also reformatted my mail
message appendix so that it is applicable to a non-Apache audience.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77533 13f79535-47bb-0310-9956-ffa450edef68
1997-01-30 00:48:31 +00:00
Marc Slemko
960c197d2e Modify the FIN_WAIT_2 docs page to change the info on Solaris (based on
information from Mukesh Kacker <mukesh.kacker@eng.sun.com>)
and add info on HP-UX (based on information from
Rick Jones <raj@cup.hp.com>).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77525 13f79535-47bb-0310-9956-ffa450edef68
1997-01-28 08:44:45 +00:00
Marc Slemko
9ec927d0c6 Add more information on the FIN_WAIT_2 problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77523 13f79535-47bb-0310-9956-ffa450edef68
1997-01-28 04:23:08 +00:00