Well, if could be that you are hitting your system’s limit. A lot of things counts as files on unix-based systems. Try rebooting. If that doesn’t work, you can try raise the limit as described at https://stackoverflow.com/questions/39537731/errno-24-too-many-open-files-but-i-am-not-opening-files 674