Re: [Lxc-users] Lingering LXC veth interfaces

2012-10-20 Thread Ken Caruso
On 10/19/12, Ken Caruso k...@ipl31.net wrote:
 Hello,

 I am using system LXCs on Ubuntu 11.10 (switching to 12.04 soon). I am
 managing the LXCs with some home grown scripts(not via libvirtd).

 If I lxc-stop a container sometimes the veth interfaces created on the
 host do not go away immediately, I believe it is the same thing
 described in this thread:

 http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00165.html

 Is there an easy way to clean these sockets up manually to force the
 deletion of the veth devices?

FWIW, I discovered that ip link delete $veth_int seems to fix remove
the lingering interface regardless of open sockets that were
associated with the now stopped LXC.

-Ken

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] Lingering LXC veth interfaces

2012-10-19 Thread Ken Caruso
Hello,

I am using system LXCs on Ubuntu 11.10 (switching to 12.04 soon). I am
managing the LXCs with some home grown scripts(not via libvirtd).

If I lxc-stop a container sometimes the veth interfaces created on the
host do not go away immediately, I believe it is the same thing
described in this thread:

http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00165.html

Is there an easy way to clean these sockets up manually to force the
deletion of the veth devices?

Does libvirt clean these when LXCs are destroyed or does behave the same way?

Thanks

-Ken

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Lingering LXC veth interfaces

2012-10-19 Thread Ken Caruso
On 10/19/12, Dan Kegel d...@kegel.com wrote:
 On Fri, Oct 19, 2012 at 6:29 PM, Ken Caruso k...@ipl31.net wrote:
 I am using system LXCs on Ubuntu 11.10 (switching to 12.04 soon). I am
 managing the LXCs with some home grown scripts(not via libvirtd).

 If I lxc-stop a container sometimes the veth interfaces created on the
 host do not go away immediately, I believe it is the same thing
 described in this thread:

 http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00165.html

 Is there an easy way to clean these sockets up manually to force the
 deletion of the veth devices?

 Might that be https://bugs.launchpad.net/bugs/1065589 ?
 - Dan

I don't think it is. The reason is that the lingering interface goes
away after a few minutes or less. I read the bug report and
corresponding list thread and gathered that in that situation the
interface would not go away unless it was manually removed or the host
was rebooted.

-Ken

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users