lighttpd doesn't accept connections after some time of working
# netstat -na | grep LIST | grep 80 tcp 0 0 *.80 *.* LISTEN # telnet 127.0.0.1 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection timed out
ktrace from OpenBSD:
32733 lighttpd RET kevent 0 32733 lighttpd CALL gettimeofday(0x7f7fffffa640,0) 32733 lighttpd RET gettimeofday 0 32733 lighttpd CALL kevent(0x3,0,0,0x46f69000,0x1001,0x7f7fffffa630) [...] thoose 4 lines repeats slowly...
After restart everything is fine. I have had this issues 3 times, last was before 2 months.
Any ideas how to debug or smth when this appears again?
Updated by gstrauss about 1 year ago
- Status changed from Missing Feedback to Fixed
- Assignee deleted (
- Target version set to 1.4.46
lighttpd was using kqueue in edge-triggered mode, but expected level-triggered behavior. This has been fixed in the upcoming lighttpd 1.4.46 to use kqueue in level-triggered mode, the same as the other lighttpd fdevent handlers.
Also available in: Atom