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

feat: backend watchdog #1339

Closed
mudler opened this issue Nov 25, 2023 · 0 comments · Fixed by #1341
Closed

feat: backend watchdog #1339

mudler opened this issue Nov 25, 2023 · 0 comments · Fixed by #1341
Assignees
Labels

Comments

@mudler
Copy link
Owner

mudler commented Nov 25, 2023

Is your feature request related to a problem? Please describe.
Issues like #1333 makes the backend completely unusable as it stalls entirely and does not allow any other request to go in. Besides, this is particularly problematic for me as I use grammar to generate data :)

It currently requires manual/automatic intervention to restart local-ai if it gets into that condition. And as this is outside of our control, we need to take a solution that works generically.

Describe the solution you'd like
A watchdog inside LocalAI that detects backend stalls (configurable, enable/disable it) and shuts it down automatically

Describe alternatives you've considered
Didn't considered other alternatives yet

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant