Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> is there another way to get around the too many open files error?

Since this isn't an actual leak, raising the limit should be fine. The default limit on Linux is 1024 due to some issues with SELECT, but you can easily raise it to a much higher value if you don't use that API.



Raising the FD limit is the right answer. 1024 is absurdly low in modern context and is a carry over from the past that needs to die.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: