Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Tips to keep your Django/mod_python memory usage down (webfaction.com)
8 points by tim on June 1, 2007 | hide | past | favorite | 2 comments


Along the same lines of freeing up memory:

A couple days ago I tried changing the swappyness setting of the vm on a box that I have a few servers on:

echo 100 > /proc/sys/vm/swappiness

Suddenly, a ton of unused memory that my apps had been eating up was forced into swap and my apps have been way faster since then. Anyone had similar results? Would this be something that shared hosting providers with severe memory limitations should consider doing?


You can do > to get a greater-than sign. But be careful if you edit the post later, it reverts back; a known bug on the Feature Requests thread.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: