This is hosted specificly on webfaction, the django project has a static only application but that's it. It also runs celeryd and memcached, but those processes have expected memory consumption.
Some clues maybe to the problem
Setting debug to true or false has zero affect on the memory consumption as it appears.
When I run apache2/bin/stop, then apache2/bin/start the consumption is dropped significantly, until I reload the site, then it goes back to this amount.
Here is the notable output from the commpand ps -u username -o rss,command
2120 /home/path/apache2/bin/httpd.worker -f /home/path/apache2/conf/httpd.conf
46408 /home/path/apache2/bin/httpd.worker -f /home/path/apache2/conf/httpd.conf
47124 /home/path/apache2/bin/httpd.worker -f /home/path/apache2/conf/httpd.conf
4800 /home/path/apache2/bin/httpd.worker -f /home/path/apache2/conf/httpd.conf
The number of instances are expected and normal, its just the memory consumption for the 2nd and 3rd that is bothersome.
The django project uses a bunch of 3rd party libraries and apps so maybe there is a memory leak? Other than that really it's just a bunch of queryset calls .. All the stuff that would consume a lot of memory like image re-sizing is all done in the template so it can't be that.
EDIT: Here are the 3rd part apps:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'mptt',
'userena',
'guardian',
'django_facebook',
'django.contrib.admin',
'django.contrib.admindocs',
'djcelery',
'kombu.transport.django',
)
Thanks for the help
htop
on ur server and observe the top memory consumption.