DISQUS

Brett Hoerner's blog: Setting up a baseline Django environment on Ubuntu | Brett Hoerner's blog

  • davedash · 9 months ago
    Is there a reason you chose to install certain python packages from source versus packaging? I'm on 8.10 Ubuntu and a lot of this is pre-packaged.
  • Brett Hoerner · 9 months ago
    Ah, I only did those that way because I'm running 8.04 LTS. I recently did an 8.10 install and agree that much of this is available in apt.
  • Graham Dumpleton · 8 months ago
    For most sites having Apache serving static files will be fine. Important thing is not to use prefork MPM for Apache in doing so. If you use worker MPM then only a single thread in multithreaded process is consumed, rather than whole process.

    Use of prefork MPM is dangerous for other reasons as well, especially if using mod_wsgi embedded mode, or mod_python. See:

    http://blog.dscpl.com.au/2009/03/load-spikes-an...

    BTW, mod_wsgi is now up to 2.4.
  • Graham Dumpleton · 8 months ago
    Hmmm, this post is actually quite old. Why is Google reader spitting out old posts as new. :-(
  • Brett Hoerner · 8 months ago
    Was it actually my feed, or a feed of Google persistent search results? I've had the same issue with a persistent search lately.