WebFaction
Community site: login faq

A while back the default Apache Config file was changed. I don't remember the old config exactly but it was something along:

MaxSpareThreads 3
MinSpareThreads 1
ServerLimit 1
ThreadsPerChild 5

Now when using WSGI the new config looks something like:

WSGIDaemonProcess django_wsgi_1_2_3 processes=5

What is the relationship between the two? How does this relate to the somewhat outdated http://blog.webfaction.com/tips-to-keep-your-django-mod-python-memory-usage-down ?

Feels like a new Tips to keep your Django memory usage down would be in place? Now that the recommended way to run is using WSGI and not mod_python as well.

And where did you get the StackOverflow system from? Did not think they sold the code!?

asked 25 Oct '10, 08:51

lamusoftware
1971517
accept rate: 16%


The previous configuration was about mod_python, and the new one is about mod_wsgi. They are roughly equivalent as technical parameters

For newer tips about reducing your memory usage, you should check: http://docs.webfaction.com/software/django/troubleshooting.html#reducing-memory-consumption

The software powering this boar is open source, and it is called OSQA. Follow the "Powered by OSQA" link at the bottom of the page to get to its official site.

permanent link

answered 25 Oct '10, 09:29

tie
1.4k13
accept rate: 44%

edited 25 Oct '10, 09:30

Thanks. Just confused by the alert messages with the link in my question.

(25 Oct '10, 09:41) lamusoftware

Nice open sourced StackOverflow clone! And written in Django!

(25 Oct '10, 09:42) lamusoftware

Will anything in the WSGIDeamonProcess directive override ServerLimit, ThreadPerChild, MinThreads, MaxThreads?

(25 Oct '10, 09:49) lamusoftware

The WSGIDeamonProcess are separate from the Apache processes, so there won't be any overriding going on. You can find more information on mod_wsgi at http://code.google.com/p/modwsgi/

(25 Oct '10, 09:57) tie
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×901
×84
×62
×26

question asked: 25 Oct '10, 08:51

question was seen: 14,498 times

last updated: 25 Oct '10, 09:57

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM