Replies: 1 comment 2 replies
-
Could you share a bit more about what your service |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team!
I am writing to ask a question below.
Main question. Is there any way to know when a gunicorn worker warm up ends?
In our case, we write a file in a model's init function to see if the model containerized by BentoML is ready to receive requests.
However, after the model finish to write a file to check its readiness, it is still warming up, so there is a problem with high CPU usage which leads to
Read timed out
error.Q. Is it right that the increase in CPU usage is due to the warm-up of the gunicorn worker?
Q. If so, is there any way to know when a gunicorn worker warm up ends?
Q. Or any ideas to solve this problem?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions