Graham Dumpleton

Results 543 comments of Graham Dumpleton

In general this would indicate that the HTTP client wasn't sending all the request content it promised to send based on the request content size in the request, or is...

You only need one request to go over the request timeout threshold to be an issue and have the process be forcibly restarted. Although, if multithreaded there is leeway in...

Looks like you are trying to use mod_wsgi built using `pip install`, but at the same time never uninstalled the system mod_wsgi package. Thus why you have multiple LoadModule lines....

You need to set `WSGIPythonPath` directive in Apache configuration to where your project code is located else the embedded Python doesn't know where to find it.

If you are using a Python virtual environment where your Python packages are installed, you must set `WSGIPythonHome` to indicate where the Python virtual environment is located. BTW, do not...

Python virtual environments are the generally recommended approach, especially for production systems, so you can have isolation from the system Python site packages directory. You don't have to use one,...

That is an Apache level configuration parameter. See: * https://httpd.apache.org/docs/2.4/mod/mpm_winnt.html * https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild Large numbers of threads are bad for Python web applications if there are CPU intensive, which is another...

Don't use the Apple supplied Apache httpd server. Use Homebrew to install separate `httpd` package and use it instead. There may be a way to generate the module with a...

Would need to see the full errors for the latter, but in general mod_wsgi-standalone cannot be used on macOS as the Apache APR library hasn't been updated in a very...

Sorry for delay. This got lost in inbox as have been occupied on other stuff. Since you have DEBUG log level on in your Python application it is no uncommon...