Bug #2590
closedlighttpd crashing under load
Description
In the setup we have about 50 clients making multiple GET requests with range header, getting 100000 byte chunks from lighttpd at the same time.
Below the backtrace i'v got.
Thank you in advance!
root@vmware-debian:~# gdb lighttpd
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/lighttpd...done.
(gdb) handle SIGPIPE pass nostop noprint
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) r -D -f /etc/lighttpd/lighttpd.conf
Starting program: /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGTERM, Terminated.
0xb7ce1a33 in __epoll_wait_nocancel () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0 0xb7ce1a33 in __epoll_wait_nocancel () at ../sysdeps/unix/syscall-template.S:82
#1 0x08067048 in fdevent_linux_sysepoll_poll (ev=<error reading variable: Cannot access memory at address 0xbffff980>, timeout_ms=<error reading variable: Cannot access memory at address 0xbffff984>) at fdevent_linux_sysepoll.c:86
#2 0x0804f8c3 in main (argc=<error reading variable: Cannot access memory at address 0xbffffc80>, argv=<error reading variable: Cannot access memory at address 0xbffffc84>) at server.c:1460
(gdb) up 2
#2 0x0804f8c3 in main (argc=<error reading variable: Cannot access memory at address 0xbffffc80>, argv=<error reading variable: Cannot access memory at address 0xbffffc84>) at server.c:1460
1460 server.c: No such file or directory.
(gdb) l
1455 in server.c
(gdb)
Updated by stbuehler over 9 years ago
- Status changed from New to Invalid
- Target version deleted (
1.4.36)
Program received signal SIGTERM, Terminated.
Another process killed it. Could be the daily logrotate, some other crazy cronjob wanting to reload the config, mabye the kernel OOM killer ...
As far as I can see there is nothing we can do.
Updated by dronnick over 9 years ago
stbuehler wrote:
Program received signal SIGTERM, Terminated.
Another process killed it. Could be the daily logrotate, some other crazy cronjob wanting to reload the config, mabye the kernel OOM killer ...
As far as I can see there is nothing we can do.
indeed, fixed it by updating logrotate script as described here: http://redmine.lighttpd.net/projects/lighttpd/wiki/DebianBrokenLogrotate
Thank you!
GrĂ¼sse aus Maichingen
Also available in: Atom