Re: IIS Maximum number of concurrent requests
From: Yves Tilkin (YvesTilkin_at_discussions.microsoft.com)
Date: 09/16/04
- Next message: jc: "Re: Diagnosing Log File"
- Previous message: Ken Schaefer: "Re: Diagnosing Log File"
- In reply to: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Next in thread: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Reply: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Messages sorted by: [ date ] [ thread ]
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
>
>
>
- Next message: jc: "Re: Diagnosing Log File"
- Previous message: Ken Schaefer: "Re: Diagnosing Log File"
- In reply to: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Next in thread: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Reply: Pat [MSFT]: "Re: IIS Maximum number of concurrent requests"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|