9 ms·
I wonder if these problems would happen less on Linux. On the one hand, most distros default to 1024 for the (soft) limit on open fds, which would be easier to
by Arnavion 5y ago
I wonder if these problems would happen less on Linux.
On the one hand, most distros default to 1024 for the (soft) limit on open fds, which would be easier to hit if you were leaking fds and thus easier to detect.
On the other hand, a lot of things that HANDLEs get used for might end up being userspace pointers from userspace libraries instead, so the leak would be of memory instead of fds and hard to detect again.