RE: Trouble with huge amount of State Server Sessions Timed out



Steven,

thank you for your answer. In fact, to my horror, I had to realize that
<compilation debug/> was set to true which I now changed to false.
As for your question regarding the server the application is hosted of a 2
processor xeon with 2 GB RAM and Windows 2003 Server. I checked IIS
Application Pool Settings and the only thing which is configured is “Recycle
worker process (in minutes)”. There are no settings configured for “Memory
recycling”. As I already mentioned there is almost always 1GB RAM available,
only for a couple of times when only 800MB were available. Recycling of the
process due to lack of memory should definitely not be a problem, at least
this is what I would have expected…

Greetings

Daniel


"Steven Cheng[MSFT]" wrote:

> Hi Daniel,
>
> Thanks for your followup.
> Based on my experience, inspite of some code related problems such as
> memory leak , we can first try checking some common things which may cause
> the problem. One most common issue is that when we deploy our release
> version app the the server, we haven't changed the "compilation" element's
> "debug" attrribute to false. Like:
>
> <compilation debug="false"/>
>
> So is the certain asp.net webapp's web.config debug mode turned off? If
> not, since the ASP.NET runtime won't use batch compilation for the pages or
> other dynamnic compiled resources, it'll make those compiled pages or
> components in separate assemblies and make the memory divdided into
> individual sections. Thus, it's possible to cause memory fragment that'll
> cause allocate large block of memory failed.
>
> In addition, since the ASP.NET has workprocess recycle setting on memory
> limitation, that means the runtime will recycle the worker process when its
> used memory size has exceed a certain configured value. Is your server 2k
> server or 2003 server and how much is the total physical memory on the
> server? For 2k server, the setting is in the <processModel> element in
> machine.config, For 2003 server(iis6), we can configure it in the IIS's
> application pool setting. So you can check whether you've set it memory
> limit to a very high value so that the process won't recycle before the
> used memory exceed that value.
>
> Thanks,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
>
>
>
>
> --------------------
> | Thread-Topic: Trouble with huge amount of State Server Sessions Timed out
> | thread-index: AcWNzodnGPnjd/QsSXafQ0Wc5DrJGg==
> | X-WBNR-Posting-Host: 153.95.95.93
> | From: "=?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?="
> <daniel.walzenbach@xxxxxxxxxxxxxxxx>
> | References: <BC4CC820-BDFF-480B-99DA-D640058676E9@xxxxxxxxxxxxx>
> <QqYcOvbjFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
> | Subject: RE: Trouble with huge amount of State Server Sessions Timed out
> | Date: Thu, 21 Jul 2005 01:31:02 -0700
> | Lines: 124
> | Message-ID: <E4B017F0-96CB-45AC-8F3E-5851E48AE24A@xxxxxxxxxxxxx>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 8bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.dotnet.framework.aspnet
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.dotnet.framework.aspnet:113562
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> |
> | Hello Steven,
> |
> | thank you for your reply! As I missed to mention and you most probably
> | already guessed the application having the problem is configured using a
> | state server running on exactly the same machine as the application is
> | running on. This server also hosts another couple of (tiny) applications
> | which all are configured to manage their session state inProc. Therefore
> the
> | problem I am facing is only specific to this certain application.
> |
> | What information do you need to track down the problem?
> |
> | Would you happen to have a documentation of the entries of the
> Performance
> | monitor? The explanations which come with performance monitor are not
> exactly
> | ausführlich. I still don’t know for example what Errors During
> Execution are
> | and when the application would be compiled. Where would I get details
> about
> | this performance counters?
> |
> | Thank you Steven! Your help is greatly appreciated!
> |
> | Daniel
> |
> |
> | "Steven Cheng[MSFT]" wrote:
> |
> | > Hi Daniel,
> | >
> | > Welcome to ASPNET newsgroup.
> | > From your description, you're currently suffering a out-of-memory
> excpetion
> | > on your webserver that host the ASP.NET application. Also from the
> perfmon
> | > log, you found that there're huge numbers of StateServer Session time
> out
> | > entries.
> | >
> | > Well, for the
> | >
> | > \\FFDS24\ASP.NET v1.1.4322\State Server Sessions Timed Out: 2999
> | >
> | > \\FFDS24\ASP.NET v1.1.4322\State Server Sessions Total: 3008
> | >
> | > entries they're only meaningful to server which is configured to
> running
> | > asp.net state service , providing session state server for other remote
> | > machines(also local). So is your problem server confgured as state
> server?
> | >
> | > Also, how many asp.net apps are there running on your problem server
> and
> | > can you try isolate the problem to only a particular web app among
> them?
> | > If we can isolate the problem to a certain web app , it'll be much
> helpful
> | > for us to look into it futher.
> | >
> | > Thanks,
> | >
> | > Steven Cheng
> | > Microsoft Online Support
> | >
> | > Get Secure! www.microsoft.com/security
> | > (This posting is provided "AS IS", with no warranties, and confers no
> | > rights.)
> | >
> | >
> | >
> | >
> | >
> | >
> | > --------------------
> | > | Thread-Topic: Trouble with huge amount of State Server Sessions Timed
> out
> | > | thread-index: AcWNR7tAoqsBFvieQ/mCzcaOTyN/QA==
> | > | X-WBNR-Posting-Host: 153.95.95.93
> | > | From: "=?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?="
> | > <daniel.walzenbach@xxxxxxxxxxxxxxxx>
> | > | Subject: Trouble with huge amount of State Server Sessions Timed out
> | > | Date: Wed, 20 Jul 2005 09:26:07 -0700
> | > | Lines: 30
> | > | Message-ID: <BC4CC820-BDFF-480B-99DA-D640058676E9@xxxxxxxxxxxxx>
> | > | MIME-Version: 1.0
> | > | Content-Type: text/plain;
> | > | charset="Utf-8"
> | > | Content-Transfer-Encoding: 8bit
> | > | X-Newsreader: Microsoft CDO for Windows 2000
> | > | Content-Class: urn:content-classes:message
> | > | Importance: normal
> | > | Priority: normal
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
> | > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | > | Xref: TK2MSFTNGXA01.phx.gbl
> | > microsoft.public.dotnet.framework.aspnet:113420
> | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> | > |
> | > | Hi,
> | > |
> | > | I have a web application which sometimes throws an “out of
> memoryâ�
> | > | exception. To get an idea what happens I traced some values using
> | > performance
> | > | monitor and got the following values (for one day):
> | > |
> | > | \\FFDS24\ASP.NET Applications(_LM_W3SVC_1_Root_ATV2004)\Errors During
> | > | Execution: 7
> | > |
> | > | \\FFDS24\ASP.NET Apps
> v1.1.4322(_LM_W3SVC_1_Root_ATV2004)\Compilations
> | > | Total: 10
> | > |
> | > | \\FFDS24\ASP.NET Apps v1.1.4322(_LM_W3SVC_1_Root_ATV2004)\Errors
> Total: 7
> | > |
> | > | \\FFDS24\ASP.NET v1.1.4322\State Server Sessions Timed Out: 2999
> | > |
> | > | \\FFDS24\ASP.NET v1.1.4322\State Server Sessions Total: 3008
> | > |
> | > |
> | > | Could somebody please provide me with some background information on
> | > those
> | > | values? What exactly would be an Errors During Execution? And what
> could
> | > be
> | > | the reason for this huge amount of State Server Sessions Timed out?
> | > |
> | > | Processor time was < 2% for the whole day and the server almost
> always
> | > had
> | > | 1GB of free RAM.
> | > |
> | > |
> | > | Thank you a lot in advance!
> | > |
> | > | Daniel
> | > |
> | >
> | >
> |
>
>
.



Relevant Pages

  • RE: server problems
    ... This newsgroup only focuses on SBS technical issues. ... >Thread-Topic: server problems ... >> web proxy service or SQL Server will normally use large memory. ...
    (microsoft.public.windows.server.sbs)
  • Re: Allocated Memory alerts
    ... If you do not encounter any real server performance issue, ... the high memory usage is expected. ... The Health monitor is running on the SBS server. ... A memory allocation threshold is configured on the particular monitored ...
    (microsoft.public.windows.server.sbs)
  • Re: FTS Performance in SQL 2005
    ... I don't think you have left enough memory for the OS and MSSearch. ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Alocated Memory Error (SQLSERVR)
    ... but my understanding is that the MSDE instances are designed to ... and you don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory usage. ... Server 2000 SP4, ...
    (microsoft.public.windows.server.sbs)
  • RE: 2 alerts keep showing up
    ... this is a performance alert regarding the hard drive. ... it can indicate server performance issue ... the high memory usage is expected. ... physical memory size and page file size on the SBS server. ...
    (microsoft.public.windows.server.sbs)

Loading