Hi!
I have a mod_wsgi setup with Apache2 and Flask. If I have an active
connection to the Apache2 server from a HTTP client and I reload the
Apache2, the client will get a HTTP 503 back. The Apache error log says the
following:
[Fri Nov 16 14:27:30 2012] [error] [client 213.115.37.68] (2)No such file
or directory: mod_wsgi (pid=19720): Unable to connect to WSGI daemon
process 'upload_handler' on '/etc/apache2/run/wsgi.18907.3.1.sock' after
multiple attempts.
This is what my Apache config looks like:
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName my.example.com
WSGIDaemonProcess upload_handler user=www-data group=www-data threads=5
processes=4
WSGIScriptAlias / /usr/local/uploader/uploader.wsgi
<Directory /usr/local/uploader>
WSGIProcessGroup upload_handler
WSGIApplicationGroup %{GLOBAL}
WSGIScriptReloading Off
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
I have Googled and read the mod_wsgi documentation to find an answer, but I
can't find anything that matches. Does anyone here have a clue what the
problem might be?
Cheers
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/modwsgi/-/VuXuNqq6leEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.