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

OSError: [Errno 24] Too many open files #1

Open
GianvitoMarzo opened this issue Jun 17, 2022 · 0 comments
Open

OSError: [Errno 24] Too many open files #1

GianvitoMarzo opened this issue Jun 17, 2022 · 0 comments

Comments

@GianvitoMarzo
Copy link

GianvitoMarzo commented Jun 17, 2022

Running this code on a linux virtual machine and on wsl, I get an error on the remote command on line 70:
on virtual machine -> OSError: [Errno 24] Too many open files
on wsl -> OSError: [Errno 16] Device or resource busy

That's because connections with the server are never closed.

Adding server.close() on line 74 fixes this problem

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