[libvirt-users] global lock when executing hook scripts

Vasiliy Tolstov v.tolstov at selfip.ru
Thu Jul 23 13:17:22 UTC 2015


Hello. I'm try to understand, why in case of 20 workers libvirt fully
locked when runs qemu hook (when domain starts) virsh list freezes.
As i understand in case of using more workers it utilized to run hooks
too, but as i see in pstree only main libvirt process executes hook.
Why this happening?

pstree -a -p 6642
libvirtd,6642 -d -l
├─qemu,9272 /etc/libvirt/hooks/qemu testvm prepare begin -
│ └─prepare,9468 -x /usr/local/prepare.sh testvm
│ └─sleep,9469 5000
├─{libvirtd},6643
├─{libvirtd},6644
├─{libvirtd},6645
├─{libvirtd},6646
├─{libvirtd},6647
├─{libvirtd},6648

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru




More information about the libvirt-users mailing list