Submit a ticketCall us

AnnouncementsSystem Monitoring for Dummies

Tired of monitoring failures disrupting the system, application, and service? Learn the key monitoring concepts needed to help you create sophisticated monitoring and alerting strategies that can help you save time and money. Read the eBook.

Get your free eBook.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Check the number of ephermal ports in use

Check the number of ephermal ports in use

Table of contents
Created by Michael Osborn, last modified by Travis.Hebbert on Feb 20, 2019

Views: 5,500 Votes: 1 Revisions: 11

Overview

This article describes how to check the number of TCP ports (that is, ephemeral ports) that are currently in use. This is useful for troubleshooting all ports in use. Useful article for Port Exhaustion.

Environment

All SAM versions

Steps

In the command prompt, run the command:

 

netstat -nao | find /i "estab" /c

 

The value returned is the number of ports currently being used. To increase the number of ports available for TCP processes, refer to the article Ephemeral Port Exhaustion.

 

If the number of ports seem high and there are a lot of 'Time_Wait' state instances in the nestat output check the following:

  • Check the amount of Applications with the status of 'Down' (only due to failed credentials, meaning not down to component critical) and 'Unknown' status. Clean up/delete and or fix applications (failed credentials) with the mention status indications
  • Check the amount of nodes being polled via WMI that are Unknown and fix or remove from Orion. Troubleshooting WMI connectivity
  • Check 'Manage Agents' page from the Orion webconsole to see what agents are unable to connect and fix or remove. Troubleshooting Agents

Last modified

Tags

Classifications

Public