Avamar: Backups fail with "An operation on a socket could not be performed because the system lacked sufficient buffer space ..."

Summary: Avamar: Backups fail with "An operation on a socket could not be performed because the system lacked sufficient buffer space ..."

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



Windows File System backups may fail with errors similar to the following:

2018-11-29 13:17:41 avtar Info <5694>: - Failed initial handshake, trying again
2018-11-29 13:17:41 avtar Info <6063>: - Communication error: Could not create connection to Server
2018-11-29 13:17:41 avtar Info <5557>: No connections available
2018-11-29 13:17:41 avtar FATAL <8941>: Fatal server connection problem, aborting initialization. Verify correct server address and login credentials.

When debugging is enabled either in the dataset or in the avtar.cmd file in the \Program Files\avs\var directory (--debug flag), the following messages may be seen:

2018/11/29-18:17:41.74900 [avtar]  Windows ::connect() code 10055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
2018/11/29-18:17:41.74900 [avtar]  sockimpl::init connect returns -1 errno=2 No such file or directory
2018/11/29-18:17:41.74900 [avtar]  sslsockimpl::open  failure
2018/11/29-18:17:41.74900 [avtar]  tcpsockimpl::close shutdown error -1 errno 2 code 10057: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

 

Cause

It is caused by port exhaustion in the Windows operating system. When application(s) makes too many outgoing connections in a short time frame or does not dispose outgoing connections properly, it depletes the available ports that the avtar process requires.

To confirm this, open a PowerShell or Windows command prompt and run the following command:

netstat -ab

Resolution

Increased dynamic port range in Windows 2012 OS using netsh command.

Additional Information

Affected Products

Avamar Server

Products

Avamar Server
Article Properties
Article Number: 000035780
Article Type: Solution
Last Modified: 14 May 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.