Linux-2.6.x bug test case

RaPaMaN rapaman at virthost.net
Thu Sep 21 15:48:18 MSD 2006


Source: epoll1.tar.gz

System: Linux 285 2.6.10-1.771_FC2.root #1 SMP Sun Aug 7 09:01:29 EDT 2005 
i686 athlon i386 GNU/Linux

[root at 285 epoll_test]# ./server
accept
close, sleep 60s


[root at 285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000005, 4
read: 8
read: 0
eof read
[root at 285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 0, 00000000, 0
epoll_wait timed out
[root at 285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000019, 4
read failed: (104)Connection reset by peer


second try:


[root at 285 epoll_test]# ./server
accept
close, sleep 60s

[root at 285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000005, 4
read: 8
read: 0
eof read

[root at 285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 0, 00000000, 0
epoll_wait timed out

С Уважением,
Дмитрий.

-- 
Информационный портал о вэб-сервере nginx - http://www.nginx.info
Удаленное администрирование серверов - 
http://remote-admin-service.encrypted-life.net





More information about the nginx-ru mailing list