Diagnose Socket Exhaustion

John Friesen 146 Reputation points

Is there a way on app service plans to see a list of sockets held by a process?
I am trying to diagnose if there is socket exhaustion happening.

For context, my app service plan contains multiple azure function apps.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,325 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 16,241 Reputation points Microsoft Employee

    There isn't anything that readily shows you open sockets under your app service plan at the process level. If you're using a client library, best practice is to run through the documentation ensuring objects are properly configured to drop connections no longer in use. You may be able to add additional logging for objects being made and monitor in your Azure Function.

    If you need further assistance, email us at AzCommunity[at]microsoft[dot]com ATTN Ryan including your app service plan and subscription id.

    No comments