I can also confirm this running docker with the library/ubuntu:14.04
image on a virtualbox host running ubuntu 14.04

running apt-get update times out or takes an extremely long time.

Host Virtualbox:

$ ulimit -n
1024

docker container:

root@1518e024f53a:/# ulimit -n
524288

root@1518e024f53a:/# time apt-get update

real    0m47.489s
user    0m24.408s
sys     0m21.516s

root@1518e024f53a:/# ulimit -n 100000
root@1518e024f53a:/# time apt-get update

real    0m11.165s
user    0m6.598s
sys     0m4.359s

root@1518e024f53a:/# ulimit -n 1024  
root@1518e024f53a:/# time apt-get update

real    0m3.109s
user    0m2.543s
sys     0m0.374s

-- 
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

Reply via email to