No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Log Reference

AR500, AR510, and AR530 V200R007

This document supports all the logs of device, including the parameters, meaning, possible causes and solution.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
SOCKET/4/ASYNACCEPTFAIL

SOCKET/4/ASYNACCEPTFAIL

Message

SOCKET/4/ASYNACCEPTFAIL:Failed to allocate the file describer for the sub socket when accept was called to accept incoming connection request. (Time=[ULONG], TaskName=[STRING], TaskId=[ULONG], SocketId=[ULONG], ErrorCode=[LONG])

Description

Failed to allocate the file descriptor to the socket when the Accept function was called to receive the connection request.

Parameters

Parameter Name Parameter Meaning
Time indicates the time when the log is generated.
TaskName indicates the task name.
TaskId indicates the task ID.
SocketId indicates the socket ID.
ErrorCode indicates the error codes, that is, -101, -24, and -55.

Possible Causes

1. Because the system memory was insufficient, namely, the memory was used up or nearly used up, the TCP listening socket could not receive the connection request from the client, and the connection failed.

2. The number of socket connections of the current task exceeds the upper limit (23 x 1024). Therefore, the file descriptor cannot be allocated to the socket, and the connection fails to be set up.

Procedure

  1. If the fault is caused by the insufficient memory, cancel some memory-consuming and unnecessary applications.
  2. If the fault is caused by the insufficient file descriptors, cancel some applications that occupy a large number of file descriptors. In this manner, you can release enough file descriptors for current applications.
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097294

Views: 62971

Downloads: 31

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next