Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

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 Eric Bryant on Sep 26, 2017

Views: 959 Votes: 17 Revisions: 12

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
  • Any Orion 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

 

*****Pushing out the port allowances is not a true fix in most cases. Please see the following article to troubleshoot the cause of the increased TCP port usage:

 

Check Emphemeral Ports in use

 

 

Last modified
14:26, 26 Sep 2017

Tags

Classifications

Public