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

此超連結會帶您前往 Dell Technologies 以外的網站。

https://stackoverflow.com/questions/4415175/an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-suffi此超連結會帶您前往 Dell Technologies 以外的網站。

http://blog.whitesites.com/blog.aspx?key=635140180116307813此超連結會帶您前往 Dell Technologies 以外的網站。

https://support.microsoft.com/en-us/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vista此超連結會帶您前往 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.