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

Reduce file descriptor usage #899

Open
jkilpatr opened this issue May 10, 2024 · 1 comment
Open

Reduce file descriptor usage #899

jkilpatr opened this issue May 10, 2024 · 1 comment

Comments

@jkilpatr
Copy link
Member

jkilpatr commented May 10, 2024

An instance of rita uses more than ten thousand file descriptors in it's normal state. That's crazy and needs to be reduced.

Just looking as lsof it seems to be mostly async/await related.

@jkilpatr
Copy link
Member Author

Some experimentation here shows that this is probably the number of independent async/await executors we have running in various threads. Separating out the executors has been useful for preventing unexpected blocking behavior from causing issues in unrelated parts of the program by hotting the executor thread but clearly is coming at a cost.

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