Well, unless you're on Windows :D Even on Windows XP Home Edition I could open a million file handles with no problems.
Seriously, why is default ulimit on file descriptors on Linux measly 1024?
Well, unless you're on Windows :D Even on Windows XP Home Edition I could open a million file handles with no problems.
Seriously, why is default ulimit on file descriptors on Linux measly 1024?
Some system calls like select() will not work if there are more than 1024 FDs open (https://man7.org/linux/man-pages/man2/select.2.html), so it probably (?) makes sense to default to it. Although I don't really think that in 2k26 it makes sense to have such a low limit on desktops, that is true.
https://0pointer.net/blog/file-descriptor-limits.html