Public bug reported: Doing some load testing on LXC, I noticed that I'm unable to start more than 35 containers on my machine.
The limitation is apparently inotify and the utmp inotify watch: lxc-start 1331084250.970 NOTICE lxc_conf - 'test40' is setup. lxc-start 1331084250.970 NOTICE lxc_start - exec'ing '/sbin/init' lxc-start 1331084250.970 NOTICE lxc_start - '/sbin/init' started with pid '20939' lxc-start 1331084251.275 ERROR lxc_utmp - Too many open files - failed to inotify_init lxc-start 1331084251.275 ERROR lxc_start - failed to add utmp handler to mainloop lxc-start 1331084251.275 ERROR lxc_start - mainloop exited with an error lxc-start 1331084251.276 DEBUG lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at / lxc-start 1331084251.276 DEBUG lxc_cgroup - destroying /sys/fs/cgroup/cpuset//lxc/test40 lxc-start 1331084251.276 ERROR lxc_cgroup - Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuset//lxc/test40' Which seems odd as we're not supposed to use that in 12.04 now that we have the kernel patch right? ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/948623 Title: Can't start more than 35 containers on my machine To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/948623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs