[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt-users] global lock when executing hook scripts



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 selfip ru


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]