diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-07-31 13:13:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 13:13:54 +0200 |
commit | 1fbb514a4ead209c95b4ddca0430f754a4c11554 (patch) | |
tree | c503cd911158b1392144eff8d41c846ff4ba5f61 | |
parent | 88733c0ce6e76a78593b8e4060e33a617cce3cd8 (diff) | |
parent | 48968bf46a992f9f7b51d5f8e5979cd6aa481122 (diff) | |
download | searxng-1fbb514a4ead209c95b4ddca0430f754a4c11554.tar.gz searxng-1fbb514a4ead209c95b4ddca0430f754a4c11554.zip |
Merge pull request #1595 from tiekoetter/fix-uwsgi-buffer-size
[fix] uWSGI: increase buffer-size
5 files changed, 11 insertions, 0 deletions
diff --git a/docs/admin/update-searxng.rst b/docs/admin/update-searxng.rst index c2a34aeee..6c199638a 100644 --- a/docs/admin/update-searxng.rst +++ b/docs/admin/update-searxng.rst @@ -75,6 +75,13 @@ uninstalled. have old filtron, morty or searx setup you should consider complete uninstall/reinstall. +Here you will find a list of changes that affect the infrastructure. Please +check to what extent it is necessary to update your installations: + +:pull:`1595`: ``[fix] uWSGI: increase buffer-size`` + Re-install uWSGI (:ref:`searxng.sh`) or fix your uWSGI ``searxng.ini`` + file manually. + remove obsolete services ------------------------ diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini index 04c32c662..c5b6fb70c 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini @@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC} # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html http = ${SEARXNG_INTERNAL_HTTP} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket index bbfaf63be..404936e7f 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket @@ -67,6 +67,7 @@ pythonpath = ${SEARXNG_SRC} # ----------------- socket = ${SEARXNG_UWSGI_SOCKET} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini b/utils/templates/etc/uwsgi/apps-available/searxng.ini index 5ea7d991a..10cfeb637 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini @@ -73,6 +73,7 @@ pythonpath = ${SEARXNG_SRC} # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html http = ${SEARXNG_INTERNAL_HTTP} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket index 304ea3500..698529bf9 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket @@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC} # ----------------- socket = ${SEARXNG_UWSGI_SOCKET} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # |