Is normal that an aplication that doesn't have a data base connection neither some extrange things consume nearky 15 Mb of memory?? Because what I've is that. A very simple aplication that is consuming 15Mb of memory.... Or my code is realy, realy, realy, bad or django consume is excesive.. PD: I serve media in static way. This is the consume:
Here is consuming near 25Mb..... That's no good... asked 21 Dec '10, 07:26 Luchi |
That is fairly normal behavior of Apache. Your application requires that you run your own Apache instance. So, even though it is not connecting to a database, Apache has to run at all times to listen for connections. Serving static media from a static only application is a good start. We have instruction at the following url that will help limit memory usage for a Django application: http://docs.webfaction.com/software/django/troubleshooting.html#reducing-memory-consumption answered 21 Dec '10, 08:06 aaronh ♦♦ |
Yes, I've read and done almost everithing in that guide. So with a plan of 80 Mb limit I can have aprox 3 app...... It will be expenseive :) jeje PD: what i can't do is to reduce the number of processes for app. I want to reduce to 2. This is my httpd.conf
answered 21 Dec '10, 09:15 Luchi If you comment out the WSGIDaemonProcess line altogether, mod_wsgi should work in "embedded" mode and it would not have processes of its own. This should bring down the number of processes to 2.
(21 Dec '10, 09:18)
tie
|