[lxc-devel] lxc_monitord - monitor exiting

Dwight Engen dwight.engen at oracle.com
Mon May 6 17:06:43 UTC 2013


Hi Çağlar,

Thanks for the test program, I can sort of recreate it here with that,
although once I lxc-stop them all, lxc-monitord does go away. I put a
debug in lxc_wait() to see that the client always close the fd to the
monitord and they all were closed so I'm not sure why lxc-monitord isn't
seeing the accepted fd coming back from epoll to close. Still
investigating...

On Sat, 4 May 2013 13:14:24 -0400
S.Çağlar Onur <caglar at 10ur.org> wrote:

> OK reproduced it with C API
> 
> 26624    lxc-monitord 1367687488.006 NOTICE   lxc_monitord -
> monitoring lxcpath /var/lib/lxc
> 26627    lxc-monitord 1367687488.008 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26630    lxc-monitord 1367687488.009 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26634    lxc-monitord 1367687488.011 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26635    lxc-monitord 1367687488.011 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26636    lxc-monitord 1367687488.014 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26639    lxc-monitord 1367687488.014 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26644    lxc-monitord 1367687488.014 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26650    lxc-monitord 1367687488.018 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26652    lxc-monitord 1367687488.018 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.020 INFO     lxc_monitord - accepted
> client fd:5 clients:1
> 26624    lxc-monitord 1367687488.020 INFO     lxc_monitord - accepted
> client fd:9 clients:2
> 26643    lxc-monitord 1367687488.021 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26664    lxc-monitord 1367687488.023 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.025 INFO     lxc_monitord - accepted
> client fd:10 clients:3
> 26667    lxc-monitord 1367687488.026 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.028 INFO     lxc_monitord - accepted
> client fd:11 clients:4
> 26677    lxc-monitord 1367687488.028 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26679    lxc-monitord 1367687488.028 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.028 INFO     lxc_monitord - accepted
> client fd:12 clients:5
> 26680    lxc-monitord 1367687488.031 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.031 INFO     lxc_monitord - accepted
> client fd:13 clients:6
> 26684    lxc-monitord 1367687488.032 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26676    lxc-monitord 1367687488.033 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.034 INFO     lxc_monitord - accepted
> client fd:14 clients:7
> 26624    lxc-monitord 1367687488.034 INFO     lxc_monitord - accepted
> client fd:15 clients:8
> 26683    lxc-monitord 1367687488.036 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.037 INFO     lxc_monitord - accepted
> client fd:16 clients:9
> 26690    lxc-monitord 1367687488.038 INFO     lxc_monitord - monitor
> fifo /var/lib/lxc/monitor-fifo exists, already running?
> 26624    lxc-monitord 1367687488.039 INFO     lxc_monitord - accepted
> client fd:17 clients:10
> 26624    lxc-monitord 1367687488.748 INFO     lxc_monitord - removing
> fd 15 26624    lxc-monitord 1367687489.239 INFO     lxc_monitord -
> removing fd 17 26624    lxc-monitord 1367687489.395 INFO
> lxc_monitord - removing fd 16 26624    lxc-monitord 1367687519.425
> NOTICE   lxc_monitord - # of clients: 7
> 
> code sits @ http://10ur.org/lxc/




More information about the lxc-devel mailing list