[pkg-lighttpd] Bug#457290: invoke-rc.d lighttpd stop does not stop php-cgi
Olaf van der Spek
olafvdspek at gmail.com
Fri Dec 21 10:10:24 UTC 2007
Package: lighttpd
Version: 1.4.13-4etch4
Severity: normal
Hi,
invoke-rc.d lighttpd stop does not (always) stop php-cgi.
So restarting php isn't as easy as it should be.
# ps aux|grep www
www-data 2314 0.0 0.2 81972 4956 ? Ss Dec20 0:00
/usr/bin/php-cgi
www-data 8894 5.1 0.7 82736 14572 ? S 11:38 1:14
/usr/bin/php-cgi
www-data 8903 5.0 0.6 82772 13932 ? S 11:39 1:12
/usr/bin/php-cgi
www-data 8907 5.0 0.7 82776 15604 ? S 11:40 1:07
/usr/bin/php-cgi
www-data 8908 5.0 0.6 82760 14212 ? S 11:40 1:06
/usr/bin/php-cgi
www-data 9419 0.7 0.1 5828 3152 ? S 12:00 0:01
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
root 9434 0.0 0.0 2848 696 pts/3 R+ 12:02 0:00 grep www
# invoke-rc.d lighttpd stop
Stopping web server: lighttpd.
# ps aux|grep www
www-data 2314 0.0 0.2 81972 4956 ? Ss Dec20 0:00
/usr/bin/php-cgi
www-data 8894 5.0 0.7 82736 14572 ? S 11:38 1:14
/usr/bin/php-cgi
www-data 8903 5.0 0.6 82772 13932 ? S 11:39 1:12
/usr/bin/php-cgi
www-data 8907 5.0 0.7 82776 15604 ? S 11:40 1:07
/usr/bin/php-cgi
www-data 8908 5.0 0.6 82760 14212 ? S 11:40 1:06
/usr/bin/php-cgi
root 9459 0.0 0.0 2852 708 pts/3 S+ 12:02 0:00 grep www
# killall php-cgi
# ps aux|grep www
root 9462 0.0 0.0 2848 700 pts/3 S+ 12:03 0:00 grep www
# invoke-rc.d lighttpd start
Starting web server: lighttpd.
# ps aux|grep www
www-data 9484 0.0 0.0 4656 2024 ? S 12:03 0:00
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
www-data 9485 0.3 0.2 84892 5512 ? Ss 12:03 0:00
/usr/bin/php-cgi
www-data 9490 12.6 0.4 86432 8456 ? S 12:03 0:00
/usr/bin/php-cgi
www-data 9491 12.3 0.4 85632 8852 ? S 12:03 0:00
/usr/bin/php-cgi
www-data 9492 15.0 0.5 88400 10992 ? S 12:03 0:00
/usr/bin/php-cgi
www-data 9493 8.6 0.4 85792 9444 ? S 12:03 0:00
/usr/bin/php-cgi
root 9495 0.0 0.0 2848 696 pts/3 R+ 12:03 0:00 grep www
#
-- 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-5-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-13etch2 GNU C Library: Shared libraries
ii libldap2 2.1.30-13.3 OpenLDAP libraries
ii libpcre3 6.7+7.4-2 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8c-4etch1 SSL shared libraries
ii lsb-base 3.1-23.2etch1 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+etch7 server-side, HTML-embedded scripti
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list