2014-09-02 64 views
1

當我使用mongodump實用它引發了一個異常嘗試備份我的數據庫:Mongodump效用提高SocketException

2014-09-02T14:33:00.883+0400 Socket recv() errno:10055 An operation on a socket could not be performed because the system lacked sufficient buffer space or beca use a queue was full. 127.0.0.1:27017

2014-09-02T14:33:00.883+0400 SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [RECV_ERROR] server [127.0.0.1:27017] assertion: 16465 recv failed while exhausting cursor

MongoDB的版本:2.6.1 操作系統:Windows Server 32位

+0

所以沒有我的回答幫助解決方案的詳細說明更多細節?對此有何反饋? – 2014-09-02 15:02:30

回答

0

從什麼我在MSDN上找到它的Windows問題

When you try to connect from TCP ports greater than 5000 you receive the error 'WSAENOBUFS (10055)' Print Print Email Email 

而且該解決方案從Windows幫助中心報價是:

「適用於」一節中包含的產品中,臨時TCP端口的默認最大數目爲5000。這些產品中增加了一個新參數。要增加最大數量的臨時端口,請按照下列步驟操作:

  • 啓動註冊表編輯器。
  • 在註冊表中找到下面的子項,然後單擊參數:

    HKEY_LOCAL_MACHINE \系統\ CurrentControlSet \服務\ TCPIP \參數

  • 在編輯菜單上,單擊新建,然後添加以下注冊表項:

Value Name: MaxUserPort

Value Type: DWORD

Value data: 65534

Valid Range: 5000-65534 (decimal)

Default: 0x1388 (5000 decimal)

  • 退出註冊表編輯器,然後重新啓動COMPU之三。

您可以找到有關的問題,並通過進入Windows Support Center

+0

謝謝你!這對我有幫助。 – Ilya 2014-09-03 06:44:44

+0

@Thor歡迎您:) – 2014-09-03 09:26:59