[pkg-lighttpd] Bug#427491: lighttpd: 100% cpu utilization <= infinite loop

Olaf van der Spek OlafvdSpek at GMail.Com
Mon Jun 4 13:12:22 UTC 2007


Package: lighttpd
Version: 1.4.13-4
Severity: important

Hi,

Lighttpd entered an infinite loop and uses 100% CPU. Strace shows the loop:
time(NULL)                              = 1180962549
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=9, events=POLLIN}, 
{fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, ...], 71, 1000) = 1
ioctl(12, FIONREAD, [0])                = 0
read(12, "", 2303)                      = 0
time(NULL)                              = 1180962549

fd 9 is ready but isn't serviced, so the next call to poll returns immediately.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lighttpd depends on:
ii  libattr1                    2.4.32-1     Extended attribute shared library
ii  libbz2-1.0                  1.0.3-6      high-quality block-sorting file co
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libldap2                    2.1.30-13.3  OpenLDAP libraries
ii  libpcre3                    6.7-1        Perl 5 Compatible Regular Expressi
ii  libssl0.9.8                 0.9.8c-4     SSL shared libraries
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  mime-support                3.39-1       MIME files 'mime.types' & 'mailcap
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages lighttpd recommends:
ii  php5-cgi                   5.2.0-8+etch4 server-side, HTML-embedded scripti

-- no debconf information




More information about the pkg-lighttpd-maintainers mailing list