up-tech
asked on
Running multiple django sites with mod_wsgi + apache
I'm currently running 50+ Django installations with mod wsgi and noticing that apache isn't dropping memory (so it just keeps holding more and more, and then the sites grind to a halt as the swap disk fills). I also host some PHP sites on these servers.
Current wsgi config looks like this:
I'm no expert, on this type of configuration, can anyone advise how best to setup each of the vhosts?
Thanks
Current wsgi config looks like this:
WSGIScriptAlias / /var/www/vhosts/glenlivet/tar/src/core/wsgi.py
WSGIDaemonProcess tar.sljol.info python-path=/var/www/vhosts/glenlivet/tar/src:/var/www/vhosts/.virtualenvs/glenlivet/lib/python2.7/site-packages
<Location />
WSGIProcessGroup tar.sljol.info
</Location>
I'm no expert, on this type of configuration, can anyone advise how best to setup each of the vhosts?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.