Bug#384485: Apache2 use up all memory after reloading
Package: apache2-mpm-worker
Version: 2.0.55-4
Kernel version: Linux 2.6.12 #2 SMP i686 GNU/Linux
Steps to Reproduce:
1) Create a site config file test in /etc/apache2/sites-available by
using following command:
cd /etc/apache2/sites-available
echo Listen 1234 > test
2) Enable site test and reload
a2ensite test
/etc/init.d/apache2 reload
3) Disable site test and reload
a2dissite test
/etc/init.d/apache2 reload
After this reloading, apache will begin to use up all memory rapidly and
finally be killed by linux kernel.
It can use up 2G memory in just 5 seconds!
There is another server with the same apache2 version but using
apache2-mpm-prefork model doesn't have this problem.
This problem won't happen if I use "/etc/init.d/apache2 restart".
I have reported this problem to apache2 but they can't reproduce this
problem on their system.
Thanks.
Reply to: