Hiren Desai
Hiren Desai

Reputation: 1101

IIS holding up requests in queue instead of processing those

I'm executing a load test against an application hosted in Azure. It's a cloud service with 3 instances behind an internal load balancer (Hash based load balancing mode).

When I execute the load test, it queues request even though the req/sec and total current request to IIS is quite low. I'm not sure what could be the problem.

Any suggestions?

Adding few screenshot of performance counters which might help you take decision.

#Processor Time

enter image description here

IIS counters - 1

IIS counters - 2

Click on image to view original image.

Edit-1: Per request from Rohit Rajan,

Cloud Service is having 2 instances (meaning 2 VMs), each of them having 14 GBs of RAM and 8 cores. I'm executing a Step load pattern start with 100 and add 100,150 user every 5 minutes, till 4-5 hours until the load reaches to 10,000 VUs.

Any call to external system are written async. Database calls are synchronous.

Upvotes: 4

Views: 3441

Answers (1)

Kaushal Kumar Panday
Kaushal Kumar Panday

Reputation: 2467

There is no straight forward answer to your question. One possible way would be to explore additional investigation options.

Based on your explanation, there seems to be a bottleneck within the application which is causing the requests to queue-up.

In order to investigate this, collect a memory dump when you see the requests queuing up and then use DebugDiag to run a hang analysis on it.

There are several ways to gather the memory dump.

  1. Task Manager
  2. Procdump.exe
  3. Debug Diagnostics
  4. Process Explorer

Once you have the memory dump you can install debug diag and then run analysis on it. It will generate a report which can help you get started.

Debug Diagnostics download: https://www.microsoft.com/en-us/download/details.aspx?id=49924

Upvotes: 2

Related Questions