Hi, I'm running a bottle application under Apache2.2.17 with mod_wsgi. My
error log is filling up with messages like this, about 4 times per second:
[Thu Sep 04 17:20:57 2014] [crit] (45)Operation not supported: mod_wsgi
(pid=28373): Couldn't acquire accept mutex '/web/logs/wsgi.17210.0.1.sock'.
Shutting down daemon process.
This happened today after I introduced a bug into my bottle application and
restarted Apache. I backed out the error and that's when the error messages
started filling up. I know I must have changed something else but I can't
see it.
Right now I have a cron job to empty the error log every few minutes
because the web pages are actually delivered, although the pages are slow.
Here's what I've done so far:
I can run the bottle development server with no errors.
I have rebooted the machine, but no change in behavior.
This is set up for Apache in httpd.conf:
LogLevel warn
WSGIPassAuthorization On
WSGIScriptAlias /service /web/home/bottle/bottle_adapter.wsgi
WSGIDaemonProcess example01 user=www group=wheel processes=5 threads=25
home=/web/logs
This is the log directory (/web/logs)
-rw------- 1 root wheel 0 Sep 4 16:53 accept.lock.17210
-rw-r--r-- 1 root wheel 4167 Sep 4 17:08 access_log
-rw-r--r-- 1 root wheel 188790 Sep 4 17:27 error_log
-rw-r--r-- 1 root wheel 6 Sep 4 16:53 httpd.pid
srwx------ 1 www wheel 0 Sep 4 16:53 wsgi.17210.0.1.sock=
This is from ldd:
./mod_wsgi.so:
libutil.so.8 => /lib/libutil.so.8 (0x800889000)
libm.so.5 => /lib/libm.so.5 (0x800ee1000)
libc.so.7 => /lib/libc.so.7 (0x800647000)
The httpd.conf syntax is okay:
sudo apachectl -t
Syntax OK
The access log looks normal. The only thing in the error log are those
[crit] errors.
I can't think of anything else to check. Any pointers on where to start
looking?
thanks,
--Tim
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.