IIS Connection Time

Андрей Петров 1 Reputation point
2022-12-22T16:05:31.51+00:00

Hi Everyone,
Can someone help me to troubleshoot IIS connection time problems.
Right now we have 4 servers with IIS and balance traffic for them using NGinx+

So when connection comes IIS writes into the log data for the POST requests with 200 as a resukt and the duration of this request.
However some connections take more than regular time approximatelly x10 - x100
For example normal time is 30ms and some strange cases happen with time 1300ms for example.

For them we switched on additional logging using this article:
https://learn.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/using-failed-request-tracing-rules-to-troubleshoot-application-request-routing-arr

And got very detailed reports.
However all the steps inside have 0ms duration and this is out of sense :-) Looks like we did something wrong?

Also we think that some new connections may trigger new sessions and in that case new database connectivity that may take time. How to manage this delays? Is there any chance to configure some connection pooling to establish some set of them in the beginning and make keepalive connectivity to them?

Thank you.

Windows development | Internet Information Services
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.