[Systems] translate.sl.o
Bernie Innocenti
bernie at sugarlabs.org
Tue Apr 19 23:55:41 EDT 2011
On Tue, 2011-04-19 at 11:06 -0500, Rafael Ortiz wrote:
> Also i'm trying some tweeks as per
>
>
> http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
> http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi
>
Hmmm... this is an interesting paragraph:
>
If you use embedded mode and don't change the settings you are likely
to have problems with running out of memory on memory constrained
systems and see load spikes which may cripple your system. These are
the same problems that can arise as when using mod_python and you
similarly haven't tuned the Apache MPM settings. You will need to
delve into the documentation on the mod_wsgi site for how to use
daemon mode.
I'd recommend taking the rest of Django's suggestions for web
application deployment with a grain of salt: their "best practices"
always include crazy things such as building a lot of stuff by hand,
sometimes installing the products in system directories.
Side-stepping the OS package management can lead to a fragile system
which doesn't receive security updates, is hard to reproduce and breaks
on every update.
Always use system packages unless you're absolutely forced to. If
needed, install packages from the next release of Ubuntu or even Debian
unstable. Anything is safer and easier to maintain than downloading a
bunch of tarballs from random websites.
--
Bernie Innocenti
Sugar Labs Infrastructure Team
http://wiki.sugarlabs.org/go/Infrastructure_Team
More information about the Systems
mailing list