Setting 100,000 file descriptors to close-on-exec while re-checking the limits each iteration takes 0.092 seconds on my laptop.
Just how large did you set your ulimits? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1332440 Title: apt-get update very slow when ulimit -n is big To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1332440/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
