Project

General

Profile

Actions

Bug #428

closed

lighttpd doesn't accept connections after some time of working

Added by Anonymous almost 19 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description


# 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?

-- nikns

Actions #1

Updated by gstrauss almost 9 years ago

(old ticket) Please close.

Please reopen ticket if this is still an issue for you.

Actions #2

Updated by gstrauss almost 9 years ago

  • Description updated (diff)
  • Status changed from New to Missing Feedback

If this happens again, look in your error log for things like
"[note] sockets disabled, connection limit reached"
"[note] sockets disabled, out-of-fds"
and please report back.

Actions #3

Updated by gstrauss almost 8 years ago

  • Status changed from Missing Feedback to Fixed
  • Assignee deleted (jan)
  • 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.

Actions

Also available in: Atom