My Django site serves a lot of static images and I'm noticing that with a little uptick of traffic, the app's memory usage is going beyond the allotted amount and my app is shutting down.
What's the optimal server setup to handle this sort of situation so I know I'm getting everything I can from my machine?
First, I'd recommend that you set up your site to serve the static images from a static-only application, as described in our docs.
If this still doesn't help, I'd recommend editing your httpd.conf file and reducing the number of threads per process. This might also reduce your memory consumption.
Also, keep in mind that we offer additional 256MB RAM at $7/month. If you decide that you need more memory, you can add it to your account from the Upgrades section in your control panel.
answered Sep 19 '12 at 09:11