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

[bug] Too many open files error rears again its ugly head #377

Open
janoskabedis opened this issue Nov 26, 2024 · 0 comments
Open

[bug] Too many open files error rears again its ugly head #377

janoskabedis opened this issue Nov 26, 2024 · 0 comments

Comments

@janoskabedis
Copy link

This issue has popped up again, in a production system with about a week of uptime and heavy use. See attached log snippet. The crazy thing here is that it is also files that are called within the jinja2 templates that are causing an issue.

production_uvicorn_snippet.log

I struggle to understand what a solution to this looks like. Perhaps: a nightly cron job to restart the server ... but this works against uptime/availability requirements in most production scenarios. Is there an architectural issue here that we have not been thinking through? Are there ways to cache more files and reduce the number of open file handles?

Originally posted by @janoskabedis in #226 (comment)

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

1 participant