Browse Source

Merge pull request #1595 from tiekoetter/fix-uwsgi-buffer-size

[fix] uWSGI: increase buffer-size
Markus Heiser 2 years ago
parent
commit
1fbb514a4e

+ 7 - 0
docs/admin/update-searxng.rst

@@ -75,6 +75,13 @@ uninstalled.
    have old filtron, morty or searx setup you should consider complete
    have old filtron, morty or searx setup you should consider complete
    uninstall/reinstall.
    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
 remove obsolete services
 ------------------------
 ------------------------

+ 1 - 0
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
 # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
 
 
 http = ${SEARXNG_INTERNAL_HTTP}
 http = ${SEARXNG_INTERNAL_HTTP}
+buffer-size = 8192
 
 
 # uWSGI serves the static files and in settings.yml we use::
 # uWSGI serves the static files and in settings.yml we use::
 #
 #

+ 1 - 0
utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket

@@ -67,6 +67,7 @@ pythonpath = ${SEARXNG_SRC}
 # -----------------
 # -----------------
 
 
 socket = ${SEARXNG_UWSGI_SOCKET}
 socket = ${SEARXNG_UWSGI_SOCKET}
+buffer-size = 8192
 
 
 # uWSGI serves the static files and in settings.yml we use::
 # uWSGI serves the static files and in settings.yml we use::
 #
 #

+ 1 - 0
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
 # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
 
 
 http = ${SEARXNG_INTERNAL_HTTP}
 http = ${SEARXNG_INTERNAL_HTTP}
+buffer-size = 8192
 
 
 # uWSGI serves the static files and in settings.yml we use::
 # uWSGI serves the static files and in settings.yml we use::
 #
 #

+ 1 - 0
utils/templates/etc/uwsgi/apps-available/searxng.ini:socket

@@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC}
 # -----------------
 # -----------------
 
 
 socket = ${SEARXNG_UWSGI_SOCKET}
 socket = ${SEARXNG_UWSGI_SOCKET}
+buffer-size = 8192
 
 
 # uWSGI serves the static files and in settings.yml we use::
 # uWSGI serves the static files and in settings.yml we use::
 #
 #