Bug#443196: apache2-mpm-worker: reload after altering apache2.conf immediately eats all memory
Package: apache2-mpm-worker
Version: 2.2.3-4+etch1
Severity: critical
Justification: breaks the whole system
Start with a simple apache2.conf containing two vhosts:
Listen 192.168.1.1:80
<VirtualHost 192.168.1.1:80>
ServerName my.server
DocumentRoot /var/www
</VirtualHost>
Listen 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName my.server
DocumentRoot /var/www
</VirtualHost>
With Apache running, edit apache2.conf to remove the first vhost (i.e.
comment out the first Listen+VirtualHost section) and reload Apache
(SIGUSR1). It then consumes all memory, making the system unusable
until the process is killed.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Reply to: