--
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 modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/b4204300-ca26-4d26-8251-219a06846837o%40googlegroups.com.
You need to set the request-timeout option on WSGIDaemonProcess.
On 8 Jun 2020, at 6:01 pm, Daniel Haude <danie...@gmail.com> wrote:
Hello,about once a day I'm getting "Timeout when reading response headers from daemon process" from my WSGI/Flask application, of course never when I test/use the app myself. I'd like to find out at which point the code hangs. The MySQL "long query" or error logs doesn't showe anything, but I'm also attaching to other DBs where I don't have access to the logs.In the mod_wsgi logs I found this paragraph: "When stack traces were being dumped upon request timeout expiring, the line numbers of the definition of each function in the stack trace was being displayed, instead of the actual line number within the body of the function that was executing at the time." , so it must be possible to get stack traces, only there is no hint on how to activate them.Thanks!--
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 mod...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/de0b5052-647f-43d7-89f5-07af5cfa1f94o%40googlegroups.com.
Ensure you are using LogLevel of info for Apache and not err or warn. You will only see stack traces in info level output.
--
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 modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/42429c42-9d13-417f-a86a-7dd68393e008o%40googlegroups.com.
If you are using daemon mode, at global scope in the Apache configuration set:WSGIRestrictEmbedded On