Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uWSGI workers keep dying #373

Open
SilviaAmAm opened this issue Sep 19, 2024 · 1 comment
Open

uWSGI workers keep dying #373

SilviaAmAm opened this issue Sep 19, 2024 · 1 comment
Labels
bug Something isn't working discuss Further information is requested

Comments

@SilviaAmAm
Copy link
Collaborator

I think that the workers are being overloaded with requests 🤔

[pid: 83|app: 0|req: 340/1028] 10.99.16.1 () {66 vars in 1353 bytes} [Thu Sep 19 17:08:59 2024] GET /api/v1/destruction-lists/?ordering=-created => generated 15106 bytes in 77 msecs (HTTP/1.0 200) 10 headers in 487 bytes (1 switches on core 0)
[pid: 83|app: 0|req: 341/1029] 10.99.16.1 () {66 vars in 1353 bytes} [Thu Sep 19 17:08:59 2024] GET /api/v1/destruction-lists/?ordering=-created => generated 15106 bytes in 73 msecs (HTTP/1.0 200) 10 headers in 487 bytes (1 switches on core 3)
worker 3 killed successfully (pid: 97)
Respawned uWSGI worker 3 (new pid: 104)
@SilviaAmAm SilviaAmAm added the bug Something isn't working label Sep 19, 2024
@SilviaAmAm SilviaAmAm added the discuss Further information is requested label Sep 24, 2024
@svenvandescheur
Copy link
Contributor

Maybe increasing the harakiri value may solve the problem as uwsgi may recycle workers that worked on long requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discuss Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

2 participants