Open
Description
Under docker, the process can sometimes start with elevated RLIMIT_NOFILE (ulimit -n). Then, if a leak is detected (even if suppressed) this loop will spend minutes of CPU time closing billions of files:
Much better to use close_range() if available.
Semi-related: #48067