Actions
Bug #1301
closedlighty 1.5 spawns a new worker when the main process receives a signal
ASK QUESTIONS IN Forums:
Description
Hello,
I've set server.max-worker to 4.
The problem is that after a 2 weeks of not restarting lighty, I get 20 running workers due to the nightly kill -HUP from logrotate.
img2:~# ps aux|grep -v grep|grep lighttpd www-data 9663 0.0 0.0 4732 1728 pts/1 S+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9664 3.6 0.1 32056 7260 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9670 3.6 0.1 32300 7672 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9671 3.8 0.1 30992 6672 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9717 4.1 0.2 34416 10036 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf img2:~# kill -HUP 9664 img2:~# ps aux|grep -v grep|grep lighttpd www-data 9663 0.0 0.0 4732 1728 pts/1 S+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9664 3.4 0.2 33000 8584 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9670 3.3 0.2 32436 8344 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9671 4.2 0.2 36268 11268 pts/1 Sl+ 09:46 0:01 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9717 4.6 0.3 38672 14184 pts/1 Sl+ 09:46 0:01 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf img2:~# kill -HUP 9663 img2:~# ps aux|grep -v grep|grep lighttpd www-data 9663 0.0 0.0 4732 1728 pts/1 S+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9664 3.4 0.2 33028 8612 pts/1 Sl+ 09:46 0:01 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9670 3.3 0.2 32320 8300 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9671 4.3 0.2 36356 11548 pts/1 Sl+ 09:46 0:01 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9717 4.6 0.3 37308 12924 pts/1 Sl+ 09:46 0:01 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf www-data 9955 0.0 0.0 25688 1512 pts/1 Sl+ 09:46 0:00 /opt/lighttpd/sbin/lighttpd -D -f /opt/lighttpd/etc/lighttpd.conf
-- lighty
Updated by Anonymous over 17 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
fixed)
Updated by jan over 17 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to fixed
Actions
Also available in: Atom