> On 5 Sep 2017, at 12:24 am, Dave Williams <[email protected]> wrote:
>
> In trying to move to a more production environment as soon as I take
> --debug-mode off I start getting the same errors as before:
>
> mod_wsgi (pid=62): Aborting process 'localhost:80'.
> mod_wsgi (pid=62): Exiting process 'localhost:80'.
> [client 172.20.0.12:57510] Truncated or oversized response headers received
> from daemon process 'localhost:80': /tmp/mod_wsgi-localhost:80:0/htdocs/submit
> mod_wsgi (pid=24): Process 'localhost:80' has died, deregister and restart it.
> mod_wsgi (pid=24): Process 'localhost:80' has been deregistered and will no
> longer be monitored.
> mod_wsgi (pid=62): Starting process 'localhost:80' with uid=1001, gid=0 and
> threads=5.
>
> These occur at around a consistent 10 minutes with mod_wsgi config of
> --request-timeout 120
> --socket-timeout 0
> and Apache2
> Timeout 21600
Settings wrong way around:
--request-timeout 0
--socket-timeout 21600
You don't need Timeout as that is what --socket-timeout sets.
The --request-timeout 0 disables timeout on request running time.
Graham
--
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 https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.