LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   recv_fd() failed (http://www.litespeedtech.com/support/forum/showthread.php?t=5726)

ftp21 02-24-2012 06:06 AM

recv_fd() failed
 
Hello,
Sometimes in a mine server i receive this error and the webserver doing down

2012-02-23 18:04:18.356 [WARN] Intercomm event: 17, abnormal.
2012-02-23 18:04:18.356 [ERROR] recv_fd() failed, fd: -1, len: 0, errno: 11.
2012-02-23 18:04:18.356 [WARN] call nio_read() to clear pending data, ret: 0, errno: 11.
2012-02-23 18:04:18.356 [WARN] Intercomm event: 17, abnormal.

I need to restart LS and everything working good.

I'm using LS 4.1.10.

How i can fix this problem?

Waiting for your reply.

webizen 02-24-2012 10:22 AM

pls try the latest 4.1.11 see if it can be fixed.

mistwang 02-24-2012 12:31 PM

If it still happen with 4.1.11, please send a link to download the whole log file to bug@litespeed..., we need to investigate.

Statskij 09-04-2012 11:30 PM

Hello,
Sometimes in a mine server i receive this error and the webserver doing down.

Code:

2012-09-05 01:05:24.811 [INFO] [CLEANUP] Clean up child process with pid: 30524                                                                                                               
2012-09-05 01:05:24.811 [INFO] [CLEANUP] Clean up child process with pid: 31121                                                                                                               
2012-09-05 01:05:24.912 [NOTICE] [AutoRestarter] child process with pid=1016 exited with status=0!                                                                                           
2012-09-05 01:05:25.008 [ERROR] recv_fd() failed, fd: -1, len: 0, errno: 2.                                                                                                                   
2012-09-05 01:05:25.008 [WARN] call nio_read() to clear pending data, ret: 0, errno: 2.                                                                                                       
2012-09-05 01:05:25.008 [ERROR] Unexpected error: 2, No such file or directory, close InterComm                                                                                               
2012-09-05 01:05:25.008 [WARN] Intercomm event: 17, abnormal.                                                                                                                                 
2012-09-05 01:05:25.008 [ERROR] recv_fd() failed, fd: -1, len: 0, errno: 2.                                                                                                                   
2012-09-05 01:05:25.008 [WARN] call nio_read() to clear pending data, ret: 0, errno: 2.                                                                                                       
2012-09-05 01:05:25.008 [ERROR] Unexpected error: 2, No such file or directory, close InterComm                                                                                               
2012-09-05 01:05:25.008 [WARN] Intercomm event: 17, abnormal.                                                                                                                                 
2012-09-05 01:05:25.017 [NOTICE] [Child: 31114] Start shutting down gracefully ...                                                                                                           
2012-09-05 01:05:25.017 [NOTICE] New litespeed process is ready, stop listeners

Code:

2012-09-05 01:05:25.058 [NOTICE] [Child: 31118] Shut down successfully!                                                                                                                       
2012-09-05 01:05:25.064 [ERROR] recv_fd() failed, fd: -1, len: 0, errno: 2.                                                                                                                   
2012-09-05 01:05:25.064 [WARN] call nio_read() to clear pending data, ret: 0, errno: 2.                                                                                                       
2012-09-05 01:05:25.064 [ERROR] Unexpected error: 2, No such file or directory, close InterComm                                                                                               
2012-09-05 01:05:25.064 [WARN] Intercomm event: 17, abnormal.                                                                                                                                 
2012-09-05 01:05:25.064 [ERROR] recv_fd() failed, fd: -1, len: 0, errno: 2.                                                                                                                   
2012-09-05 01:05:25.064 [WARN] call nio_read() to clear pending data, ret: 0, errno: 2.                                                                                                       
2012-09-05 01:05:25.064 [ERROR] Unexpected error: 2, No such file or directory, close InterComm                                                                                               
2012-09-05 01:05:25.064 [WARN] Intercomm event: 17, abnormal.                                                                                                                                 
2012-09-05 01:05:30.568 [INFO] Remove pid: 30218, exitcode: 0                                                                                                                                 
2012-09-05 01:05:30.569 [INFO] Remove pid: 30622, exitcode: 0                                                                                                                                 
2012-09-05 01:05:30.610 [INFO] Remove pid: 30405, exitcode: 0                                                                                                                                 
2012-09-05 01:05:32.633 [INFO] Remove pid: 31115, exitcode: 1


mistwang 09-05-2012 01:28 PM

It is normal during LSWS restart.

Statskij 09-05-2012 03:23 PM

Litespeed is down:
2012-09-06 01:11:20.645 WARN Intercomm event: 17, abnormal.
2012-09-06 01:11:21.094 ERROR recv_fd() failed, fd: -1, len: 0, errno: 2.
2012-09-06 01:11:21.094 WARN call nio_read() to clear pending data, ret: 0, errno: 2.
2012-09-06 01:11:21.095 ERROR Unexpected error: 2, No such file or directory, close InterComm
2012-09-06 01:11:21.095 WARN Intercomm event: 17, abnormal.
2012-09-06 01:11:21.095 ERROR recv_fd() failed, fd: -1, len: 0, errno: 2.
2012-09-06 01:11:21.095 WARN call nio_read() to clear pending data, ret: 0, errno: 2.
2012-09-06 01:11:21.095 ERROR Unexpected error: 2, No such file or directory, close InterComm
2012-09-06 01:11:21.095 WARN Intercomm event: 17, abnormal.

mistwang 09-06-2012 09:57 AM

that section of log file does not help. need log before it happens. Please gzip it and send to bug@litespeed... or make it available for download from somewhere.


All times are GMT -7. The time now is 04:32 PM.