3 ms·
Curious, how would a cache fix the fd leak issue?
by solipsism 7y ago
Curious, how would a cache fix the fd leak issue?
- badamp 7y agoPerhaps a better term would be “pool”. Anyway, what’s being leaked is “handles” or events not actually fds. You only actually need as many fds as the maximum possible number passed to a syscall. The mapping of handles/event objects in user space does not have to be 1:1 with the kernel resource.