[Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Thu Dec 8 08:25:11 UTC 2011


On Thu 2011-12-08 (07:39), Daniel Lezcano wrote:
> On 12/08/2011 12:38 AM, Joseph Heck wrote:
> 
> > I've been seeing a pause in the whole networking stack when starting
> > and stopping LXC - it seems to be somewhat intermittent, but happens
> > reasonably consistently the first time I start up the LXC.
> >
> > I'm using ubuntu 11.10, which is using LXC 0.7.5
> >
> > I'm starting the container with lxc-start -d -n $CONTAINERNAME
> 
> That could be the bridge configuration. Did you do 'brctl setfd br0 0' ?

I have this in my /etc/network/interfaces (Ubuntu 10.04):

auto br0
        iface br0 inet static
        address 129.69.1.227
        netmask 255.255.255.0
        gateway 129.69.1.254
        bridge_ports eth0
        bridge_stp off
        bridge_maxwait 5
        post-up /usr/sbin/brctl setfd br0 0


I have never noticed a network freeze and I really often start/stop LXC
containers. Does this "brctl setfd br0 0" prevent the freeze? I do not
remember why I have added it :-}


-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/
REF: <4EE05BAD.1020106 at free.fr>




More information about the lxc-users mailing list