Re: Apache2, mod_wsgi and django setup

2015-11-12 Thread Gary Roach
Andrew; I forgot all about the process tables. Thanks. Interesting though, systemctl and mod_wsgi both start a root instance and then fork off 3-4 www-data instances. I assume that this is normal. The python manage.py runserver on the other hand doesn't even show up in the process table. I

Re: Apache2, mod_wsgi and django setup

2015-11-12 Thread James Schneider
On Thu, Nov 12, 2015 at 2:34 PM, Gary Roach wrote: > Setup for Django development system > > OS Debian Linux 8 (jessie) using systemd, not init.d > Python 3.4.2 > Django 1.8.5 > Apache2 2.4.10 Debian (mmm-worker) > mod_wsgi 4.3.0 > Postgresql 9.4.5 > > Two virtual environments: archive (actual pr

Re: Apache2, mod_wsgi and django setup

2015-11-12 Thread Andrew Farrell
Others on here should jump in with help with your other questions but I think you should find the answers to your first and third by running `ps aux | grep apache` and looking at the first column. You might also find it enlightening to run `ps auxf | grep apache -B 2`. On Thu, Nov 12, 2015 at 4:34

Apache2, mod_wsgi and django setup

2015-11-12 Thread Gary Roach
Setup for Django development system OS Debian Linux 8 (jessie) using systemd, not init.d Python 3.4.2 Django 1.8.5 Apache2 2.4.10 Debian (mmm-worker) mod_wsgi 4.3.0 Postgresql 9.4.5 Two virtual environments: archive (actual project) and mysite (django tutorial). Setup done with python3 -m venv