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

the worker was restart during the woker is running #3142

Open
sirpqp opened this issue Jan 30, 2024 · 2 comments
Open

the worker was restart during the woker is running #3142

sirpqp opened this issue Jan 30, 2024 · 2 comments

Comments

@sirpqp
Copy link

sirpqp commented Jan 30, 2024

when the configration :max_requests=1000 and max_requests_jitter=100 was defined,
at some time the log show:[2024-01-30 15:22:06 +0800] [101428] [INFO] Autorestarting worker after current request.

But the worker was restarted during the woker is running!
i hope the worker never autorestart or the autorestart time without the worker is runing!
how can i solve it?

@pajod
Copy link
Contributor

pajod commented Jan 31, 2024

What exactly do you want to solve? Why are you setting max_requests in the first place?

(You should not generally be using the autorestart feature, it merely assists in mitigating known defects. You describe none such.)

@zogzog
Copy link

zogzog commented Feb 8, 2024

This looks like a dupe of #3038 (which is a real concern by the way, "merely assisting" in mitigating unfixable mem leaks is a worthwhile feature).

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

No branches or pull requests

3 participants