Viewing maximum number of IIS connections in perfmonRSS

2 replies

Last post Sep 25, 2020 02:05 AM by Jalpa Panchal

  • Viewing maximum number of IIS connections in perfmon

    Sep 10, 2020 07:03 AM|mahmoodn|LINK

    In IIS-10, I have set the `maximum concurrent connections` to 50, however, in the performance counters, I don't see that 50 for the related counters.



    Which performance counter is related to this limit then?

  • Re: Viewing maximum number of IIS connections in perfmon

    Sep 11, 2020 03:30 AM|Jalpa Panchal|LINK

    Hi,

    iis site Maximum Concurrent Connection Specifies the maximum number of connections for a site. Use this setting to limit the number of simultaneous client connections.

    So when I set the value to 2 it will not allow more than 2 connection and give 503 error.below is the snapshot:

    performance monitor shows the currently active connection with the time:

    You can also get by using the below Powershell command:

    Get-Counter "web service(Site1)\current connections" -ComputerName web-srv01
    
    

    Current Anonymous Users – the number of anonymous IIS users


    Current Non-Anonymous Users – the number of authorized IIS users


    Current Connections – total number of active connections on the IIS server

    the information about the number of user sessions in the Performance Manager console is being displayed in real-time (by default, the counter values are displayed as linear graphs). If you select any of the counters in the bottom pane, you can view its last, average, minimum or maximum value for a given period of time.

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: Viewing maximum number of IIS connections in perfmon

    Sep 25, 2020 02:05 AM|Jalpa Panchal|LINK

    Is your issue solved?

    If your issue is solved then I request you to mark the helpful suggestion as an answer. This will help other people who face the same issue.

    If your issue still exists then try to refer the solution given by the community members.

    If then also you have any further questions then let us know about it.

    We will try to provide further suggestions to solve the issue.

    Thanks for your understanding.

    Regards

    Jalpa.

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.