Bug#384485: Apache2 use up all memory after reloading
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:
echo Listen 1234 > test
2) Enable site test and reload
3) Disable site test and 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.