Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Server & Application Monitor (SAM) > How to increase ephemeral port allowances

How to increase ephemeral port allowances

Created by William Muhle, last modified by MindTouch on Jun 23, 2016

Views: 59 Votes: 12 Revisions: 10

Overview

By default, Microsoft windows limits the port utilization that can be spun up for a TCP connection. They limit it via making it so that the server uses ports between 1024 and 5000.  This can often times cause issues on the Orion server due to the amount of open connections that we require in order to gather up all the information that we need from nodes.  

The error that you will end up seeing if you are running into this problem is generally as follows:

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.  

 

You can increase the number of ports that the Windows server is able to utilize however.

Environment

  • Any SAM installation

Steps

In order to increase the port allowance within windows, please do the following:

 

1. Click start -> run

2. Type in Regedit and hit enter.

3. Once the Regedit has opened, navigate to the following key and right click on Parameters:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

4. Select New -> DWORD (32) bit value.

5. Once the new value has been created, rename it to MaxUserPort (** Be aware that the capitalization matters).

6. Right click the new setting and select Modify.

7. Put a tick mark in the Decimal section under Base, and then input a value between 5000 and 65534 in the Value data section.  The number you in input in there will be the port number that windows is now allowed to go up to in the connection utilization.

8. Exit the registry editor and reboot the server.

 

 For more information, you may visit: 

https://support.microsoft.com/en-us/kb/319504

 

 

Last modified
02:54, 23 Jun 2016

Tags

Classifications

Public