[Lxc-users] veth interface not deleted?

Fajar A. Nugraha list at fajar.net
Fri Sep 13 15:16:05 UTC 2013


On Fri, Sep 13, 2013 at 7:43 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Quoting Fajar A. Nugraha (list at fajar.net):
> > On Thu, Sep 12, 2013 at 9:46 PM, Serge Hallyn <serge.hallyn at ubuntu.com>
> wrote:
> > > Quoting Fajar A. Nugraha (list at fajar.net):
> > >> Any ideas how to troubleshoot this? Is this something related to
> kernel
> > >> version?
> > >
> > > If the container fails to start at all, then lxc will manually delete
> > > the veth.
> >
> > The case is the container is already running, and then you stop it.
> > Depending on the traffic handled by the container, the veth will
> > sometimes not get deleted.
>
> At all, or for a certain amount of time (like Petru)?


Well, the longest I waited was about 10 minutes, so I don't know what
would've happened if I waited one hour



>  I'm wondering
> whether it could just be that there is a socket waiting for a tcp
> timeout, holding the veth open.
>
>
It may be the case.

However, doing "ip link del" on the host side (after the container was
down) always succeded in deleting the veth.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130913/b83899fe/attachment.html>


More information about the lxc-users mailing list