Quantcast
Channel: Network Infrastructure Servers forum
Viewing all articles
Browse latest Browse all 5877

Is this a Kind of TCP/IP Port Exhaustion ? , Whenever we had this issue we are rebooting server.

$
0
0

Issue

We have an application server and a client - Server Application which uses socket connections where port numbers of each client to server were defined in client on \driver\etc\services

Sometime we are facing the issue that the clients were unable to connect to the server application and to establish a socket connection.

During this if we run netstat -a we see too many socket connections were in established state. But in actual none of the clients were able to connect to server application and the client pc were not able to reach through ping tool.

I read the article that its kind of TCP/IP Port Exhaustion

When a client initiates a TCP/IP socket connection to a server, the client typically connects to a specific port on the server and requests that the server respond to the client over an ephemeral, or short lived, TCP or UDP port. On Windows Server 2003 and Windows XP the default range of ephemeral ports used by client applications is from 1025 through 5000. Under certain conditions it is possible that the available ports in the default range will be exhausted.

TCP/IP port exhaustion can occur on a client computer if the client computer is engaging in an unusually high number of TCIP/IP socket connections. This can occur if many client applications are initiating connections.

If all of the available ephemeral ports are allocated to client applications then the client experiences a condition known as TCP/IP port exhaustion. When TCP/IP port exhaustion occurs, client port reservations cannot be made and errors will occur in client applications that attempt to connect to a server via TCP/IP sockets.

Server Details : OS:Windows 2003 (X86). Hardware : HP Provilion

Client Details: OS: Windows XP SP2 / SP3 : Hardware: Multibrand.

Our Server application is created using C# .Net and using the port range from 31000-31150 to connect with clients.

Need your suggestion / fix how to fix this issue ,IS this can be fixed by application or by changing settings in OS.

NETSTAT -A --> Result as below


TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:ssdpESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:remote-winsockESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:pptpESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:pptconferenceESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:ms-streamingESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:msnpESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:msmqESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:msiccpESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1904ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1903ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1901ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1899ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1898ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1897ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1894ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1893ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1892ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1891ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1889ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1888ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1887ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1884ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1883ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1880ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1879ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1878ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1877ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1875ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1874ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1873ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1872ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1870ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1868ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1867ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1866ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1865ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1862ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1861ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1860ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1859ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1856ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1855ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1854ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1853ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1851ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1850ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1849ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1848ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1847ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1844ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1843ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1842ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1840ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1839ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1838ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1837ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1836ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1834ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1833ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1832ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1831ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1830ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1828ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1827ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1826ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1825ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1823ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1822ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1821ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1820ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1819ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1817ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1816ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1814ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1812ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1811ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1810ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1809ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1808ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1806ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1805ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1804ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1802ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1799ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1798ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1797ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1796ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1794ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1793ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1792ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1790ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1789ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1787ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1786ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1785ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1783ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1782ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1781ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1780ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1778ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1776ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1775ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1774ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1773ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1772ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1770ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1769ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1767ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1766ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1764ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1763ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1762ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1761ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1759ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1758ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1757ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1753ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1752ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1751ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1750ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1749ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1747ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1746ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1743ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1742ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1740ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1739ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1738ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1737ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1735ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1734ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1733ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1730ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1728ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1727ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1726ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1725ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1722ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1721ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1719ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1717ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1716ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1715ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1714ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1713ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1710ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1707ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1705ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1703ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1702ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1701ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1700ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1698ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1697ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1696ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1694ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1692ESTABLISHED
TCPAPP_Primary_Server:31007Machine1computer.Plantfloorswitch1.Mycompany.com:1691ESTABLISHED
TCPAPP_Primary_Server:31007APP_Primary_Server.vistcorp.ad.MYCompany.com:0LISTENING

NOTE: when we see the above result , connection as established and tried to ping the host  Machine1computer.Plantfloorswitch1.Mycompany.com will not be reachable anywhere

When Pinged from a Normal PC within the Same Switch and or from a PC connected in Core Switch were not Pinging.

C:\ >ping Machine1computer.Plantfloorswitch1.Mycompany.com

Pinging Machine1computer.Plantfloorswitch1.Mycompany.com [192.168.100.75] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.100.75:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


Viewing all articles
Browse latest Browse all 5877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>