opencve / opencve-docker

Docker Image packaging for OpenCVE
https://www.opencve.io
Other
41 stars 38 forks source link

Fix Issue webserver WORKER TIMEOUT #40

Open crowzer0 opened 1 year ago

crowzer0 commented 1 year ago

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.