Again at Webfaction my memory usage is way over my limit:

Below is the list of processes that you're running with the memory
that they use (the command used to list these processes is "ps -u
fitwise -o rss,etime,pid,command"):

User - Memory - Elapsed Time - Pid - Command:
--------------------------------------------
fitwise - 1MB - 24 days, 11:45:32 - 30464 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 27MB - 24 days, 11:45:32 - 30465 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 25MB - 24 days, 11:45:32 - 30466 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 25MB - 24 days, 11:45:32 - 30467 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 26MB - 24 days, 11:45:32 - 30468 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 25MB - 24 days, 11:45:32 - 30469 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start
fitwise - 2MB - 24 days, 11:45:32 - 30470 - /home/fitwise/webapps/w2p/
apache2/bin/httpd.worker -f /home/fitwise/webapps/w2p/apache2/conf/
httpd.conf -k start

I did this:

Serve static media with a Static-only application.

I did not yet set up Nginx+uwsgi because at Webfaction they said:
"Using Nginx+uwsgi may reduce your memory usage, but it will involve
some experimentation with your application." and I don't have much
time to experiment at the moment.


This is their answer to my question how to reduce memory:
Can you try reducing the no. of processes for your mod_wsgi app as
seen here: 
http://docs.webfaction.com/software/django/troubleshooting.html#reducing-memory-consumption

I hope one of you can tell me how to apply this to web2py.


Kind regards,

Annet.

Reply via email to