Skip to content

Fix Issue webserver WORKER TIMEOUT#40

Open
crowzer0 wants to merge 1 commit into
opencve:masterfrom
crowzer0:master
Open

Fix Issue webserver WORKER TIMEOUT#40
crowzer0 wants to merge 1 commit into
opencve:masterfrom
crowzer0:master

Conversation

@crowzer0

@crowzer0 crowzer0 commented Mar 2, 2023

Copy link
Copy Markdown

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.

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.

@ncrocfer ncrocfer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not as comfortable as @ldurnez concerning Docker, but in my opinion harcoding the value here is not a good practice.

Can you at least make it configurable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants