[Lxc-users] Many containers and too many open files

Jäkel, Guido G.Jaekel at dnb.de
Mon Aug 15 07:52:46 UTC 2011


>Hi
>
>Going back through the list, I couldn't find whether this has been resolved.
>
>I had a similar problem today with a little over 40 containers:
>
># lxc-start -n gary
>lxc-start: Too many open files - failed to inotify_init
>lxc-start: failed to add utmp handler to mainloop
>lxc-start: mainloop exited with an error
>lxc-start: Device or resource busy - failed to remove cgroup '/cgroup/gary'
>

Dear Gary,

did you (re-)configure  /etc/security/limits.conf  on the lxc host to have an adequate value for filehandles in such an environment? E.g.:
 
	[...]
	*               hard    nofile          65536
	*               soft    nofile          65000
	[...]

Greetings

Guido




More information about the lxc-users mailing list