Re: major iis5 asp performance problems

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

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 07/21/04


Date: Tue, 20 Jul 2004 23:56:16 -0700

Use IIS State on the bad dllhost/inetinfo.exe during the 30+ seconds it
takes to load, and post the log here. Let's see what is going on inside that
dllhost.exe...

http://www.iisfaq.com/default.aspx?view=P197

Right now, it sounds like on the bad machines that you run out of physical
memory and dip into virtual memory, at which point hard-drive thrashes and
performance goes out the window. Since you only have 128MB in the machine
and the OS took about half of that, if any app gets over 50-60MB, things are
going to thrash badly and weird things can happen. So, interesting question
is why the app gets to 50-60MB (whether it is actually expected or not).

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"tparks69" <tparks69@discussions.microsoft.com> wrote in message
news:422DC8F8-402E-4DA8-98D3-809718EF130B@microsoft.com...
OK we have a set of laptop computers each running IIS5.  Every laptop is a
virtual clone of each other.  We have a web app running on the localhost on
each laptop.  On most of the laptops, the response time between ASP pages is
in the 1 second range.  On other machines, the response time is terrible...
in 30+ seconds per page (I've heard up to 6 minutes per page from users).
When I watch the inetinfo and dllhost processes in the task manager, I note
the following differences in the bad machines vs the good ones:
Good:  inetinfo.exe process starts out with around 4MB of memory
Bad:    inetinfo.exe is only getting like 1-2MB of memory
Good:  dllhost starts out with around 10MB memory, goes up to 11-12MB when
calling our VB COM+ dlls to post/process data, then goes back to 10MB after
page loaded. (again, page loads in like 1 second)
Bad:    dllhost starts out with around 10MB, but shoots up to 50-60
sometimes 80MB while processing the page.  during this time the harddrive
light is almost constantly on.  (the page is taking 30+ seconds to load)
I don't think the application code is the problem since on most boxes pages
load in < 1 second.  Keep in mind there is only one user at a time on the
site as it is running local and disconnected.
I have looked at:
- Virtual memory settings
- IIS performace tab settings
- caching settings in IE
- running COM+ objects in library application instead of server application
- shutting down extraneous services to conserve memory
- changing the IIS max memory settings in the registry
- defragging the harddrive
and more.... none of these things have helped.
The environment is: Win2K Pro SP4, 128MB ram per box (we cannot upgrade this
so don't tell me we need more RAM), IE 6.0.2800.1106 SP1, IIS5
I was wondering if one of you guru's out there might have some
suggestions... we're pretty desperate here, so any help is appreciated.
Thanks!
Tom


Relevant Pages

  • Re: Memory limit reached with Windows Mobile
    ... That would explain the memory problem - you just can't do that. ... You have to load stuff when it's ... All native DLLs get loaded ...
    (microsoft.public.pocketpc.developer)
  • Re: Memory limit reached with Windows Mobile
    ... That would explain the memory problem - you just can't do that. ... Once I reached the 12 Mb limit, I cannot load any DLLs, yet if I ... Actually, simply by loading our 18 Native DLLs, we reduce the Virtual ...
    (microsoft.public.pocketpc.developer)
  • Re: Generating one table with a terabyte of data
    ... Take any simple string matching issues and run them as external C code on the files before loading. ... not match the job but can be adjusted for greater performance by changing memory type or adjusting IO layouts. ... them after a bulk load. ... Another thing is to split the updates across file sets. ...
    (microsoft.public.sqlserver.dts)
  • Re: fps modding
    ... > Yeah the memory usage used to be really high for no reason - but they've ... hl2 without it bothering to log in and such. ... one can't expect new games to load as ... >> rebuild and load a map. ...
    (comp.games.development.programming.misc)
  • Re: ASP.NET application hits 2GB virtual bytes
    ... We found the problem last night, we essentially had a resource/memory leak. ... the Reflection call failed but the watcher thread ... The 3GB switch limits the *virtual address space*, not the working memory set. ... your basic problem is that you're running in IIS 5.0 compatibility mode. ...
    (microsoft.public.dotnet.framework.aspnet)