From fefdfeac4e24355c2ac2ef7f1e783d58afae8d58 Mon Sep 17 00:00:00 2001 From: crowzer0 <71876064+crowzer0@users.noreply.github.com> Date: Thu, 2 Mar 2023 16:52:32 +0100 Subject: [PATCH] Fix Issue WORKER TIMEOUT Many request on the UI was very slow. The Error from the log: ``` webserver | [2023-03-02 15:38:36 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:10) webserver | [2023-03-02 15:38:36 +0000] [10] [INFO] Worker exiting (pid: 10) webserver | [2023-03-02 15:38:36 +0000] [11] [INFO] Booting worker with pid: 11 ``` The gunicorn runs into a timeout. I fixed the issue by rising up the gunicorn workers. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 5715222..fc401d5 100755 --- a/run.sh +++ b/run.sh @@ -24,7 +24,7 @@ case "$1" in 'webserver') shift - exec opencve webserver $@ + exec opencve webserver --workers=3 $@ ;; *)