#1149595 Mininet takes ages to start on modern distros or docker

#1149595#5
Date:
2026-10-01 10:03:36 UTC
From:
To:
On startup mininet tries to close all file descriptors except
stdin/stdout/stderr by brute forcing the range of fdtablesize.
This worked in the past with low fdtablesize values like 2^10, but takes
ages in docker or some modern distros with a large tablesize e.g. 2^31 .
It has has been fixed in upstream by lantz on github. See PR#1182
https://github.com/mininet/mininet/pull/1182 and PR#1183
https://github.com/mininet/mininet/pull/1183.