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

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

book

Article ID: 117787

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

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

Client Automation - All Windows versions

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

 

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

2- Reboot the server