Avamar:备份失败,并显示“无法在套接字上执行作,因为系统缺少足够的缓冲区空间...”

Summary: Avamar:备份失败,并显示“无法在套接字上执行作,因为系统缺少足够的缓冲区空间...”

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 文件系统备份可能会失败,并显示类似于以下内容的错误:

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.

在数据集或 \Program Files\avs\var 目录(--debug 标志)的avtar.cmd文件中启用调试时,可能会看到以下消息:

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

它是由 Windows作系统中的端口耗尽引起的。当应用程序在短时间内建立过多的传出连接或未正确释放传出连接时,会耗尽 avtar 进程所需的可用端口。

要确认这一点,请打开 PowerShell 或 Windows 命令提示符并运行以下命令:

netstat -ab

Resolution

使用 netsh 命令增加了 Windows 2012作系统中的动态端口范围。

Additional Information

This hyperlink is taking you to a website outside of Dell Technologies.

https://stackoverflow.com/questions/4415175/an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-suffiThis hyperlink is taking you to a website outside of Dell Technologies.

http://blog.whitesites.com/blog.aspx?key=635140180116307813This hyperlink is taking you to a website outside of Dell Technologies.

https://support.microsoft.com/en-us/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vistaThis hyperlink is taking you to a website outside of Dell Technologies.https://www.aip.im/2012/10/how-to-change-the-number-of-dynamic-ports/

 

 

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.