Client Automation - CAM error ERROR - accept() failed, we return now: socket error 10048

Document ID : KB000117787
Last Modified Date : 18/10/2018
Show Technical Document Details
Issue:

CAM is taking a lot of CPU and answering slowly to requests.
ITCM GUI is hanging.

In %CAI_MSQ%\logs\dg* logs following error appears a lot of times: 
 
ERROR accept() failed, we return now: socket error 10048

 
Environment:

Windows OS

 
Cause:
A cause of error CAM "ERROR accept() failed, we return now: socket error 10048" could be a lack of ephemeral ports (or dynamic ports).

By default Windows OS is configured with 16384 dynamic ports.
Following command could be executed to see the current config.

netsh int ipv4 show dynamicport tcp

User-added image


 
Resolution:
Increase the number of dynamic ports :

1- Open a Command Prompt with Administrative rights and execute this command (example for 32768 dynamic ports) :
 
netsh int ipv4 set dynamicport tcp start=32768 num=32768
 
User-added image

2- Reboot the server