Set limit concurrent connections for websocket on iis 8

I created app for work with websockets
I published my app on IIS8 (server RAM 64GB, processor i7)
When I testing I can open 5000 concurrent connections
and then server dont wanted other open connections
When I increase the number of worker processes I can open more connections

But I’m wondering how I can increase a limit for one process?


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I found decision
For open 50k connections for 1 core
Need set next parametrs

cd %windir%System32inetsrv
appcmd.exe set config /section:system.webserver/serverRuntime /appConcurrentRequestLimit:50000

in files:
need add
<?xml version="1.0" encoding="UTF-8" ?>
        <applicationPool maxConcurrentRequestsPerCPU="50000" />

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x