aspnet running off with memory

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Steve'Abbey (anonymous_at_discussions.microsoft.com)
Date: 03/23/04


Date: Tue, 23 Mar 2004 15:26:07 -0800

We've just moved our application onto two brand new blade servers, 2.6ghz the works...with the thought that the old server was our problem.
It turns out that our new load balanced servers if left alone will have the same problem.
Basically we have one webservice which takes one xml document, transforms the document and saves the result to an oracle database within the organisation. This functionality kicks off the aspnet worker process but the worry is that current traffic is causing the aspnet process to use up to 500mb of memory per day (I am currently managing this by restarting IIS everynight post 10pm).
If left to itself it will use the default 60% of memory and possibly kick off another process before something resulting in 500 Internal server Errors.
This is usually resolved by restarting IIS or Killing InetInfo if no response.
I have tried setting the idletimeout to 5 minutes for the process model but this doesn't appear to work, e.g.
Restart IIS = No aspnet process running
Call webservice, aspnet starts using approx 30mb memory
No further http request are received on the server for a further 10 minutes and yet aspnet process is still running and the memory usage if watched in task manager fluctuates slightly, thus obviously why the timeout is not working.
This has been a real struggle for me and cost me lots of sleep.
I am begging for advice on this as within a month we are looking to double the traffic through these machines calling exactly the same web service...



Relevant Pages

  • Re: aspnet running off with memory
    ... When using massive string sum&concatenation, ... the works...with the thought that the old server was our problem. ... the worry is that current traffic is causing the aspnet process to use up to ... 500mb of memory per day (I am currently managing this by restarting IIS ...
    (microsoft.public.dotnet.framework)
  • Re: aspnet running off with memory
    ... U could also use the CLRProfiler to see what is taking all the memory. ... Are you sure you are calling Close, Disposeetc on any resources - like ... the works...with the thought that the old server was our problem. ... the worry is that current traffic is causing the aspnet process to use up to ...
    (microsoft.public.dotnet.framework.performance)
  • Re: aspnet running off with memory
    ... the works...with the thought that the old server was our problem. ... the worry is that current traffic is causing the aspnet process to use up to ... 500mb of memory per day (I am currently managing this by restarting IIS ...
    (microsoft.public.dotnet.framework.performance)
  • aspnet running off with memory
    ... If left to itself it will use the default 60% of memory and possibly kick off another process before something resulting in 500 Internal server Errors. ... Restart IIS = No aspnet process running ... No further http request are received on the server for a further 10 minutes and yet aspnet process is still running and the memory usage if watched in task manager fluctuates slightly, thus obviously why the timeout is not working. ...
    (microsoft.public.dotnet.framework)
  • aspnet running off with memory
    ... If left to itself it will use the default 60% of memory and possibly kick off another process before something resulting in 500 Internal server Errors. ... Restart IIS = No aspnet process running ... No further http request are received on the server for a further 10 minutes and yet aspnet process is still running and the memory usage if watched in task manager fluctuates slightly, thus obviously why the timeout is not working. ...
    (microsoft.public.dotnet.framework.aspnet)