This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C6265C.68EBAC00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have a web server in production running IIS 6 (Windows Server 2003 =
SP1) and hosting multiple virtual websites with each website hosting =
many ASP.NET applications in virtual directories. Each website is =
running in it's own worker process and all the application use the out =
of process ASP.NET State Server running on the same webserver (eg. =
connecting to 127.0.0.1:42424).

Now recently the following errors have been showing up in the =
application event log on the server. At first there would maybe be 20 =
in a row one day randomly spaced minutes apart and would only occur =
every couple weeks. Recently these errors have started showing up =
everyday, 25+ spaced randomly minutes apart. Another tidbit is that if =
I recall correctly I believe this started happening around the same time =
AJAX applications started being deployed to the server, I'm not sure if =
they're related. I am unable to correlate if a specific application =
causes this error.

This is the error everytime:
>>>
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1078
Date: 1/31/2006
Time: 10:41:38 AM
User: N/A
Computer: WebServer
Description:
The state server has closed an expired TCP/IP connection. The IP address =
of the client is 127.0.0.1. The expired Read operation began at =
01/31/2006 10:41:04.
<<<

This error does not seem to be causing any problems with session states =
being lost or dropped as there have been no reports from users of =
problems along those lines (potential users for the sites number in the =
10's of thousands).

I have searched the net high and low and newsgroups and the only real =
piece of advice on this specific error comes from MS KB 308097 =
(http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;308097). =
Seems to be describing the problem I'm having except that this webserver =
is not under high load or high CPU usage, I would describe the load as =
merely moderate and CPU usage as low. I increased the timeout in the =
machine.config and the registry to the recommended 20 seconds anyway to =
see if that would help. It appeared to actually help for a while, but =
steadily has gotten worse and worse. I increased the timeout further to =
30 seconds, and this change had no effect on it.

When this server was built the following recommendations were used as =
well for increasing scalability and performance as this server makes =
substantial use of web services on itself and other servers.
From KB 821268: =
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;821268
. Set the values of the maxWorkerThreads parameter and the =
maxIoThreads parameter to 100.=20
. Set the value of the maxconnection parameter to 12*N (where N is =
the number of CPUs that you have).=20
. Set the values of the minFreeThreads parameter to 88*N and the =
minLocalRequestFreeThreads parameter to76*N.=20
. Set the value of minWorkerThreads to 50. Remember, =
minWorkerThreads is not in the configuration file by default. You must =
add it.=20


Can anyone add some insight into this issue? I was hoping with the long =
winded question that people would be able to find the answer to this =
specific problem easier in the future once it is solved.

Thanks in advance for any help!

AV
------=_NextPart_000_0015_01C6265C.68EBAC00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I have a web server in production =
running IIS 6=20
(Windows Server 2003 SP1) and hosting multiple virtual websites with =
each=20
website hosting many ASP.NET applications&nbsp;in virtual =
directories.&nbsp;=20
Each website is running in it's own worker process and all the =
application use=20
the out of process ASP.NET State Server running on the same webserver =
(eg.=20
connecting to 127.0.0.1:42424).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now recently the following errors have =
been showing=20
up in the application event log on the server.&nbsp; At first there =
would maybe=20
be 20 in a row one day randomly spaced minutes apart&nbsp;and would only =
occur=20
every couple weeks.&nbsp; Recently these errors have started showing up=20
everyday, 25+ spaced randomly minutes apart.&nbsp; Another tidbit is =
that if I=20
recall correctly I believe this started happening around the same time =
AJAX=20
applications started being deployed to the server, I'm not sure if =
they're=20
related.&nbsp; I am unable to correlate if a specific&nbsp;application =
causes=20
this error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This is the error =
everytime:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&gt;&gt;&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Event Type:&nbsp;Error<BR>Event=20
Source:&nbsp;ASP.NET 1.1.4322.0<BR>Event Category:&nbsp;None<BR>Event=20
ID:&nbsp;1078<BR>Date:&nbsp;&nbsp;1/31/2006<BR>Time:&nbsp;&nbsp;10:41:38 =

AM<BR>User:&nbsp;&nbsp;N/A<BR>Computer:&nbsp;WebServer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Description:<BR>The state server has =
closed an=20
expired TCP/IP connection. The IP address of the client is 127.0.0.1. =
The=20
expired Read operation began at 01/31/2006 10:41:04.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;&lt;&lt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This error does not seem to be causing =
any problems=20
with session states being lost or dropped as there have been no reports =
from=20
users of problems along those lines (potential users for the sites =
number in the=20
10's of thousands).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have searched the net high and low =
and newsgroups=20
and the only real piece of advice on this specific error comes from MS =
KB 308097=20
(<A=20
href=3D"">http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;30809=
7</A>).&nbsp;=20
Seems to be describing the problem I'm having except that this webserver =
is not=20
under high load or high CPU usage, I would describe the load as merely =
moderate=20
and CPU usage as low.&nbsp; I increased the timeout in the =
machine.config and=20
the registry to the recommended 20 seconds anyway to see if that would=20
help.&nbsp; It appeared to actually help for a while, but steadily has =
gotten=20
worse and worse.&nbsp; I increased the timeout further to 30 seconds, =
and this=20
change had no effect on it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When this server was built the =
following=20
recommendations were used as well for increasing scalability and =
performance as=20
this server makes substantial use of web services on itself and other=20
servers.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>From KB 821268: <A=20
href=3D"">http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;82126=
8</A></FONT></DIV>
<DIV><FONT face=3DArial>
<TABLE class=3D"list ul">
<TBODY>
<TR>
<TD class=3Dbullet><FONT size=3D2>=95</FONT></TD>
<TD class=3Dtext><FONT size=3D2>Set the values of the =
<I>maxWorkerThreads</I>=20
parameter and the <I>maxIoThreads</I> parameter to=20
<B>100</B>.</FONT></TD></TR>
<TR>
<TD class=3Dbullet><FONT size=3D2>=95</FONT></TD>
<TD class=3Dtext><FONT size=3D2>Set the value of the =
<I>maxconnection</I>=20
parameter to <B>12*<VAR>N</VAR></B> (where <VAR>N</VAR> is the =
number of=20
CPUs that you have).</FONT></TD></TR>
<TR>
<TD class=3Dbullet><FONT size=3D2>=95</FONT></TD>
<TD class=3Dtext><FONT size=3D2>Set the values of the =
<I>minFreeThreads</I>=20
parameter to <B>88*<VAR>N</VAR></B> and the=20
<I>minLocalRequestFreeThreads</I> parameter=20
to<B>76*<VAR>N</VAR></B>.</FONT></TD></TR>
<TR>
<TD class=3Dbullet><FONT size=3D2>=95</FONT></TD>
<TD class=3Dtext>
<DIV><FONT size=3D2>Set the value of <I>minWorkerThreads</I> to =
<B>50</B>.=20
Remember, <I>minWorkerThreads</I> is not in the configuration file =
by=20
default. You must add =
it.</FONT></DIV></TD></TR></TBODY></TABLE></DIV><FONT=20
size=3D2>
<DIV><BR>Can anyone add some insight into this issue?&nbsp; I was hoping =
with=20
the long winded question that people would be able to find the answer to =
this=20
specific problem easier in the future once it is solved.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance for any help!</DIV>
<DIV>&nbsp;</DIV>
<DIV>AV</FONT></DIV></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_0015_01C6265C.68EBAC00--