[modwsgi] Cleanup On Process Shutdown in mod_wsgi 3?

2019-08-29 Thread Eric Lemings
Greetings all, The current mod_wsgi documentation states in the "Cleanup On Process Shutdown" section that a function registered via the atexit module will be called during a "graceful" shutdown. I've

Re: [modwsgi] Cleanup On Process Shutdown in mod_wsgi 3?

2019-08-29 Thread Graham Dumpleton
> On 30 Aug 2019, at 6:57 am, Eric Lemings wrote: > > Greetings all, > > The current mod_wsgi documentation > > states in the "Cleanup On Process Shutdown" section that a function > registered via the

Re: [modwsgi] Adding python-path to WSGIDaemonProcess causes site.USER_SITE to fail with attribute error

2019-08-29 Thread Steve Fielding
Thanks for the feedback Graham. Confused as to why the 'USER_SITE' attribute is present if I do not try to set python-path. If I just remove the python-path setting from the config file, this is what site.USER_SITE is set to: site.USER_SITE = /var/www/.local/lib/python3.5/site-packages

Re: [modwsgi] Adding python-path to WSGIDaemonProcess causes site.USER_SITE to fail with attribute error

2019-08-29 Thread Steve Fielding
In the case where site.USER_SITE attribute is NOT present: [Fri Aug 30 00:55:05.338223 2019] [wsgi:error] [pid 2447:tid 140424335841024 ] NAME mod_wsgi [Fri Aug 30 00:55:05.338242 2019] [wsgi:error] [pid 2447:tid 140424335841024 ] FILE