Okay, I found the root cause and why I got "resource temporarily unavailable" I set the "nofiles" option equal to "ulimit -Hn" according to this manual https://github.com/hoytech/strfry/blob/master/docs/DEPLOYMENT.md Just set it to 0 and now it is fine.