[lxc-users] Error: Too many open files

Tamas Papp tompos at martos.bme.hu
Wed Mar 26 10:26:29 UTC 2014


On 03/26/2014 11:20 AM, István Király wrote:
> Hello list, ..
>
> I have now approx. 30 fedora template based containers running.
> The ulimit option is increased.
>
> ulimit -n
> 900000
>
> lsof | wc -l
> 142579
>
> Everything seems to be running fine, but I get this error message when
> I restart a service.
> Error: Too many open files
>
> The hardware is fairly strong, and I keep creating containers, but I'm
> also worried a bit.
> Anyone has any experience in running a lot of containers at once?
>

Check also this settings:

fs.inotify.max_user_watches = 81920
fs.inotify.max_user_instances = 1024



tamas


More information about the lxc-users mailing list