aliasrobotics / aztarna

aztarna, a footprinting tool for robots.
https://aliasrobotics.com
GNU General Public License v3.0
89 stars 27 forks source link

Error: Too many open files #8

Closed LanderU closed 6 years ago

LanderU commented 6 years ago

Sometimes, these errors appears when run the code with an input file:

[-] Error connecting to host http://115.128.147.165:11311: Cannot connect to host 115.128.147.165:11311 ssl:None [Too many open files]
    Not a ROS host
[-] Error connecting to host http://188.164.19.108:11311: Cannot connect to host 188.164.19.108:11311 ssl:None [Too many open files]
XabierPB commented 6 years ago

Solved. Just added a semaphore for avoiding concurrent connections. I tried with the large file @LanderU provided in zmap_results (65000+ hosts) and had no problems. Tak!