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

TabNine goes berserk when it runs out of file descriptors #69

Closed
dotdash opened this issue Apr 16, 2019 · 2 comments
Closed

TabNine goes berserk when it runs out of file descriptors #69

dotdash opened this issue Apr 16, 2019 · 2 comments
Labels
Type: bug Something isn't working wontfix

Comments

@dotdash
Copy link

dotdash commented Apr 16, 2019

I was experimenting with a project that has problems when it runs out of file descriptors and reduced my open file limit to 64. This caused TabNine to go into a loop trying to accept connections, constantly failing to do so and using all available CPUs.

strace shows an endless stream of:

[pid 26959] <... accept4 resumed> 0x7eff357d3720, [128], SOCK_CLOEXEC) = -1 EMFILE (Too many open files)
[pid 26958] <... accept4 resumed> 0x7eff301a8720, [128], SOCK_CLOEXEC) = -1 EMFILE (Too many open files)
[pid 26959] accept4(11,  <unfinished ...>
[pid 26958] accept4(11,  <unfinished ...>
@0xpr03
Copy link

0xpr03 commented May 1, 2019

Could be related to #24 as I also hit the file limit pretty easy when switching between 3 Projectfolders (and js vs rust). VSCode shows then that the limit is reached and probably tabnine also goes berserk, would explain why I've got to restart after that.

@stale
Copy link

stale bot commented Oct 3, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 3, 2022
@stale stale bot closed this as completed Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working wontfix
Projects
None yet
Development

No branches or pull requests

3 participants