I have apache2 running on ubuntu 10.04 with 512mb ram. It all seems ok, until i start start making requests to the server. When I watch my memory usage, it jumps up about 5-10% every time I browse to another page. I am assuming this is new apache processes running to server the content. I am not bothered about that, but it doesn't come back down when I stop requesting pages.
I am using Django and wsgi if that makes any difference.
EDIT:
from: /etc/apache2/apache2.conf
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
MaxClients 15
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
I already edited the mpm_prefork_module to be smaller, but that didn't fix it!