I have a Django + mod_wsgi + Apache server. I need to change the default HTTP connection timeout. There is a Timeout directive in the apache configuration, but it does not work.
How can I customize this?
I solved this problem:
python manage.py runningerver --http_timeout 120
There WSGIDaemonProcessare several timeout options in the mod_wsgi directive (I think an inactive timeout can help):
WSGIDaemonProcess
inactivity-timeout = sss (2.0 +), daemon , daemon . , , . , , , , , , - .deadlock-timeout = sss (2.0 +), Python GIL. - 300 . Python C, Python GIL .- = SSS, , , SIGINT . - , , Python . , - 5 . , - , , Apache . - Apache 3 .
inactivity-timeout = sss (2.0 +)
, daemon , daemon . , , . , , , , , , - .
deadlock-timeout = sss (2.0 +)
, Python GIL. - 300 . Python C, Python GIL .
- = SSS
, , , SIGINT . - , , Python . , - 5 . , - , , Apache . - Apache 3 .
WSGIDaemonProcess:
mod_wsgi
Source: https://habr.com/ru/post/1526599/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1526594/what-is-the-best-practice-for-converting-mysql-lookup-tables-to-mongodb&usg=ALkJrhjCBn4l8nmnOs1Q_gWObzawZYJGKwDo I need to create popup menus in GTK? - cAny way to get Input Pattern to work in Safari and IE8 <- javascriptWhy does Azure Staging function replace connection strings when I do Swap - azureEmpty JSON objects ([{}, {}, ..]) are written to the file - jsonNested groups with data.table - rPhonegap, textarea will not accept input - jqueryКак использовать комплексные числа с boost:: multiprecision:: mpfr? - c++Choose a double-click hyphen in Sublime Text for Mac OSX? - sublimetext2Using a local file as src - javascriptAll Articles