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

pysonofflan discover: too any open files #117

Open
rgiordani71 opened this issue Oct 4, 2019 · 1 comment
Open

pysonofflan discover: too any open files #117

rgiordani71 opened this issue Oct 4, 2019 · 1 comment

Comments

@rgiordani71
Copy link

  • pySonoffLAN version: 0.3.0
  • Python version: Python 2.7.10
  • Operating System: MacOS

Description

Exception in thread Thread-486:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 926, in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 870, in run
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pysonofflan/discover.py", line 69, in probe_ip
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 151, in init
OSError: [Errno 24] Too many open files

What I Did

pysonofflan discover
@beachhouse123
Copy link

Try increasing the ulimit from it's default value of 256

e.g. ulimit -n 10000

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

2 participants