Don't use getdtablesize() for closing existing fd's it only
represents the current limit. Also don't call it every iteration of the loop.
Showing
Please register or sign in to comment
represents the current limit. Also don't call it every iteration of the loop.