[lxc-devel] how to tell lxc-monitord to go away?

2013-12-06 Thread Harald Dunkel
Hi folks,

If I shut down my drbd partition to mount it on another
host, then lxc-monitord keeps the mount point busy for at
least 30 seconds. This means additional 30 seconds
unavailability of the service provided by the container.
Highly painful.

Do you think it would be possible to write down the PID
somewhere to support kill `cat /somepath/lxc/lxc-monitord.pid`
as usual? Or is there an undocumented feature in lxc-monitor,
e.g. lxc-monitor -P /somepath/lxc --kill?


Many thanx in advance
Harri

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
lxc-devel mailing list
lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] how to tell lxc-monitord to go away?

2013-12-06 Thread Dwight Engen
On Fri, 06 Dec 2013 09:16:34 +0100
Harald Dunkel harald.dun...@aixigo.de wrote:

 Hi folks,
 
 If I shut down my drbd partition to mount it on another
 host, then lxc-monitord keeps the mount point busy for at
 least 30 seconds. This means additional 30 seconds
 unavailability of the service provided by the container.
 Highly painful.

Hi Harald, I think the 30 seconds could certainly be shortened. We just
didn't want monitord to be long lived so I just picked 30 seconds. I
can see why this is painful in your situation.

 Do you think it would be possible to write down the PID
 somewhere to support kill `cat /somepath/lxc/lxc-monitord.pid`
 as usual? Or is there an undocumented feature in lxc-monitor,
 e.g. lxc-monitor -P /somepath/lxc --kill?
 
There isn't such a feature now, but it probably wouldn't be hard to
add, I'll look into it.
 
 Many thanx in advance
 Harri
 
 --
 Sponsored by Intel(R) XDK 
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
 ___
 lxc-devel mailing list
 lxc-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/lxc-devel


--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
lxc-devel mailing list
lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel