[lxc-users] Error: Too many open files

2014-03-26 Thread István Király
Hello list, .. I have now approx. 30 fedora template based containers running. The ulimit option is increased. ulimit -n 90 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

Re: [lxc-users] Error: Too many open files

2014-03-26 Thread Tamas Papp
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 90 lsof | wc -l 142579 Everything seems to be running fine, but I get this error message when I restart a service.

[lxc-users] [PATCH] check whether rootfs is shared before running hooks

2014-03-26 Thread Florian Klink
this expands c597baa8f9 and 2c6f3fc932. --- src/lxc/start.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/lxc/start.c b/src/lxc/start.c index ec10496..40696e9 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -409,6 +409,13 @@ struct lxc_handler *lxc_init(const char *name,

[lxc-users] macvlan network - is lxc.network.macvlan.mode required?

2014-03-26 Thread bogdan.purcare...@freescale.com
Hello, I'm running LXC 1.0 with a config file inspired from the lxc-macvlan.conf available in the repo. I get this error: root@sandbox:~# cat lxc-macvlan.conf # Container with network virtualized using the macvlan device driver lxc.utsname = alpha lxc.network.type = macvlan lxc.network.flags =

Re: [lxc-users] [PATCH] check whether rootfs is shared before running hooks

2014-03-26 Thread Serge Hallyn
Quoting Florian Klink (flo...@flokli.de): this expands c597baa8f9 and 2c6f3fc932. It can't happen here as this will affect the host. So yes, the pre-start hooks by definition cannot happen in the container's ns (lxc.container.conf says it happens in the host's namespace). Perhaps the very top