Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Ian Jackson
Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility"): > Ok, thanks. I'm currently testing on your git branch referenced earlier > in this thread > > git://xenbits.xen.org/people/iwj/xen.git#wip.enumerate-pids-v2.1 Great. That's the one. My current version is pr

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Jim Fehlig
Ian Jackson wrote: > Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD > flexibility"): > >> Looking at the libvirt code again, it seems a single thread services the >> event loop. See virNetServerRun() in src/util/virnetserver.c. Indeed, I >> see the same thread ID in all

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Ian Jackson
Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility"): > Looking at the libvirt code again, it seems a single thread services the > event loop. See virNetServerRun() in src/util/virnetserver.c. Indeed, I > see the same thread ID in all the timer and fd callbacks. One

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Daniel P. Berrange
On Thu, Jan 30, 2014 at 09:14:01AM -0700, Jim Fehlig wrote: > Daniel P. Berrange wrote: > > On Mon, Jan 27, 2014 at 06:39:36PM -0700, Jim Fehlig wrote: > > > >> [Adding libvirt list...] > >> > >> Ian Jackson wrote: > >> > >>> Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SI

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Jim Fehlig
Daniel P. Berrange wrote: > On Mon, Jan 27, 2014 at 06:39:36PM -0700, Jim Fehlig wrote: > >> [Adding libvirt list...] >> >> Ian Jackson wrote: >> >>> Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD >>> flexibility"): >>> > > BTW, I meant to ask before - what i

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-30 Thread Daniel P. Berrange
On Mon, Jan 27, 2014 at 06:39:36PM -0700, Jim Fehlig wrote: > [Adding libvirt list...] > > Ian Jackson wrote: > > Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD > > flexibility"): BTW, I meant to ask before - what is the SIGCHLD reference about in the subject line ? libv

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-29 Thread Ian Jackson
Daniel P. Berrange writes ("Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility"): > Yes, you are correct. The threading model for libvirtd is that the > process thread leader executes the event loop, dealing with timer > and file descriptor I/O callbacks

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-28 Thread Daniel P. Berrange
On Mon, Jan 27, 2014 at 06:39:36PM -0700, Jim Fehlig wrote: > [Adding libvirt list...] > > Ian Jackson wrote: > > Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD > > flexibility"): > > > >> BTW, I only see the crash when the save/restore script is running. I > >> stoppe

Re: [libvirt] [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD flexibility

2014-01-27 Thread Jim Fehlig
[Adding libvirt list...] Ian Jackson wrote: > Jim Fehlig writes ("Re: [Xen-devel] [PATCH 00/12] libxl: fork: SIGCHLD > flexibility"): > >> BTW, I only see the crash when the save/restore script is running. I >> stopped the other scripts and domains, running only save/restore on a >> single do