fuimaz / spserver

Automatically exported from code.google.com/p/spserver
Other
0 stars 0 forks source link

这是什么错误 #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0
testhttp[20478]: session(1024.14) read error, errno 11, status 0

Original issue reported on code.google.com by chenh...@gmail.com on 12 Dec 2008 at 12:45

GoogleCodeExporter commented 9 years ago
errno 11 是 EAGAIN
#define EAGAIN      11  /* Try again */

是在 read 的时候,发现 socket 
中没有数据可读,需要重新监听 read event 。
这行日志是某次 debug 
的时候添加的,后来没有去掉,不影响正常的功能。

Original comment by stephen....@gmail.com on 13 Dec 2008 at 4:10

GoogleCodeExporter commented 9 years ago
我现在使用spserver的时候也遇到这个这个问题,而且向/var/logs
/messages中大量写入session(1024.14) read error, errno 11, status 
0信息,cpu的消耗也很严重

Original comment by zhouqian...@gmail.com on 15 Mar 2012 at 5:32