Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux-2.6.x bug test case



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@285 epoll_test]# ./server
accept
close, sleep 60s


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


second try:


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

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

[root@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



 




Copyright © Lexa Software, 1996-2009.