Re: IIS Maximum number of concurrent requests

From: Yves Tilkin (YvesTilkin_at_discussions.microsoft.com)
Date: 09/16/04


Date: Thu, 16 Sep 2004 04:33:04 -0700

What is happening is the thing you describe in the second paragraph. The
requests are waiting for the DB queries to return. As we are aware that
queries should be as fast as possible, some might take about 5 minutes.
Still, in this case, I would expect it to be possible to launch 25 ASP
requests (because it's a single CPU), all having the status executing. The
26th request would then get the status queued. Is my thinking here correct or
are there other things to keep in mind as this is currently not how it works
in our case.

Yves

"Pat [MSFT]" wrote:

> If these are ASP pages, then you can have #CPU * 25 concurrent requests. If
> you enable the ThreadGate, then IIS will block any additional ASP pages from
> running if the CPU usage is too high. All of this is highly dependent on
> what the ASP pages actually do. If 10 concurrent requests are driving the
> CPU to 99%, then you are probably doing something in a loop that eats a lot
> of CPU cycles (e.g. iterative string concatenation) and increasing the
> concurrent numbers won't help much. The more efficient your code, the more
> concurrent pages your machine can handle.
>
> When you make a DB query (assuming it is to a remote DB), the running ASP
> page will block (the thread goes into a Wait state pending a return from the
> DB). In which case, 0 CPU is being used.
>
> Pat
>
>
> "Yves Tilkin" <Yves Tilkin@discussions.microsoft.com> wrote in message
> news:0BC6BCD2-EA99-4D17-8F89-BF098AC95800@microsoft.com...
> > I'm looking for some advice on performance settings of IIS. We have an ASP
> > application that creates Com+ components that read data out of a database.
> > Some of these data retrieval requests can take some time (about 5
> > minutes).
> > Because of this it can happen that IIS needs to handle a lot of requests
> > (about 20 to 30) which we assume IIS can easily handle as long as system
> > resources are available. What happens is that when IIS executes about 10
> > requests (can be less), all extra requests get queued. This when CPU is
> > 99%
> > idle and plenty of memory is available. I've already experimented with
> > settings like AspThreadGateEnabled and others but it does not make any
> > difference (I would think handling about 30 requests should work with the
> > default settings). The machine on which we ran this was a PIV 3Ghz, 1GB
> > ram
> > running Windows Server 2000.
> >
> > Any help/suggestions would be appreciated?
> > Thanks,
> > Yves
>
>
>



Relevant Pages

  • Re: w3wp.exe takes 100% processor
    ... Be careful when using a stress test. ... A typical web user will request 1 asp page every 60 seconds. ... configure the stress tool to delay 60 seconds between requests. ... The CPU utilisation of w3wp rises when users are ...
    (microsoft.public.inetserver.iis)
  • Re: IIS Maximum number of concurrent requests
    ... If these are ASP pages, then you can have #CPU * 25 concurrent requests. ... > I'm looking for some advice on performance settings of IIS. ...
    (microsoft.public.inetserver.iis)
  • Re: IIS Maximum number of concurrent requests
    ... ThreadGating may prevent the full 25 from being used ... > Still, in this case, I would expect it to be possible to launch 25 ASP ... > requests (because it's a single CPU), ...
    (microsoft.public.inetserver.iis)
  • Re: Long-running ASP page using ServerXMLHTTP...
    ... If you are using Sessions it's normal that all requests for a single session ... Updating the cache itself can be done from your ASP page itself, ... > are allowed to execute while we are waiting for the response from the 3rd ...
    (microsoft.public.inetserver.asp.db)
  • Re: Confused about ASP, "sessions", and queuing of multiple requests
    ... cookies (include ASP session state cookie) with the first IE instance. ... and generating multiple HTTP requests from a single IE ... :> running IIS on a multiprocessor server. ...
    (microsoft.public.inetserver.asp.general)