TCP Ports get exhausted on the StoreFront server
book
Article ID: CTX227903
calendar_today
Updated On:
Description
StoreFront refuses to create connections and we get below events :
- Event ID 4231 : Request to allocate an ephemeral port number from the global TCP port space has failed due to all such ports being in use.
- Event ID 4227 : TCP/IP failed to establish an outgoing connection because the selected local endpoint was recently used to connect to the same remote endpoint. This error typically occurs when outgoing connections are opened and closed at a high rate causing all available local ports to be used and forcing TCP/IP to reuse a local port for an outgoing connection. To minimize the risk of data corruption, the TCP/IP standard requires a minimum time period to elapse between successive connections from a given local endpoint to a given remote endpoint.
Environment
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Resolution
Update: This fix (LC8795) is included in the following releases:
- XenApp and XenDesktop 7.6 LTSR CU6 (StoreFront 3.0.6000.1)
- XenApp and XenDesktop 7.15 LTSR CU2 (StoreFront 3.12.2000)
- XenApp and XenDesktop 7.18 (StoreFront 3.15)
Disable Socket Pooling by unchecking the option at location :
Another workaround is to recycle Application Pool of Citrix Delivery Services Resources periodically.
Problem Cause
When socket pooling is enabled, StoreFront maintains a pool of sockets, rather than creating a socket each time and returning it to the operating system when the connection is closed.
Additional Information
http://docs.citrix.com/en-us/storefront/3-5/config-manage-stores/advanced-store-settings.html#par_anchortitle_a877
https://technet.microsoft.com/en-us/library/cc770764(v=ws.10)
Was this article helpful?
thumb_up
Yes
thumb_down
No