Re: [PATCH 0/2] qemu: Don't log partial buffer reads from qemu monitor

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

 



On Thu, Dec 21, 2017 at 12:16:50PM +0100, Peter Krempa wrote:
I was debugging a case where 200 snapshots of a disk would result in a
VERY long reconnect time after libvirtd restart when debug logging was
enabled.

I've figured out that qemu responds with 9MiB of json after calling
"query-named-block-nodes" and this resulted in > 26 GiB of libvirtd
debug log just to process the message.

I'll report the qemu flaw separately.

Peter Krempa (2):
 util: probe: Add quiet versions of the "PROBE" macro
 qemu: monitor: Decrease logging verbosity

src/qemu/qemu_monitor.c      | 4 ++--
src/qemu/qemu_monitor_json.c | 3 +++
src/util/virprobe.h          | 8 ++++++++
3 files changed, 13 insertions(+), 2 deletions(-)


ACK series with the typos fixed.

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux