Avatar of Thomas Brandtner
Thomas Brandtner
 asked on

IIS 8.5 Long running requests block other requests for minutes (they wait in request queue)

Hi
Environment: Windows 2012R2 Server, IIS 8.5

I have a classic .asp script which uses "wscrip.shell" to call an external .exe to create LARGE .zip files on the fly and send them to the client browser. While this process is running, other requests to the server are blocked (well they stay in the queue) but this is not acceptable for minutes. I already increased the maximum number of worker processes in the advanced settings of the application pool associated with the site. But like this, I loose my sessions, because they are tied to the worker process. A following page request could be processed by any of the worker processes and session state seems not to be shared amongst the worker processes. Thefore the user possibly looses it's session variables with each page request. Re-Designing the application without sessions would be possible but taking to long in actual emergency.
ANY BETTER SOLUTIONS?
Microsoft IIS Web ServerServer HardwareWindows Server 2012Windows OSServer Software

Avatar of undefined
Last Comment
Dan McFadden

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dan McFadden

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Thomas Brandtner

ASKER
Did move the download part to separate (session free) AppPool with multiple worker processes.
Thanks
Dan McFadden

Has the reconfiguration resolved the issue?

Dan
Thomas Brandtner

ASKER
yes, it worked. But was quite a bunch of program changes and testing. I did it already 2 weeks ago, was urgent. I just had hope it could be just an IIS configuration issue. I had noted it worked in spring 2016 and I was completely surprised why it didn't anymore suddenly.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Dan McFadden

Glad it's working then.  I guess you could close the question then.

Dan