[Pkg-libvirt-maintainers] Bug#524145: libvirt0: default loglevel maybe too high

Andreas Unterkircher unki at netshadow.at
Wed Apr 15 06:02:32 UTC 2009


Package: libvirt0
Version: 0.6.2-1
Severity: normal


I have several users here, each running virt-manager in their X
sessions to monitor a KVM host managed with libvirt. virt-manager
is configured to obtain all possible statistics from libvirt for
CPU- and RAM-usage as well as network- and disk-activity.

At 6:25 the logfiles in /var/log/libvirt/qemu got rotated and new,
empty logfiles get touched - about one hour later they logs in
there have grown again to ~ 500MB.

unki at srv-mfm-vm02:/var/log/libvirt/qemu$ ls -lrth
total 1.8G
-rw------- 1 root root  19M 2009-04-07 06:25 srv-mfm-ftp01.log.1
-rw------- 1 root root    0 2009-04-07 06:25 srv-mfm-ftp01.log
-rw------- 1 root root  22M 2009-04-09 06:25 srv-mfm-prod.log.1
-rw------- 1 root root 274M 2009-04-15 06:25 srv-mfm-acc.log.1
-rw------- 1 root root 292K 2009-04-15 06:25 srv-mfm-log.log.1
-rw------- 1 root root 419M 2009-04-15 07:46 srv-mfm-log.log
-rw------- 1 root root 601M 2009-04-15 07:46 srv-mfm-acc.log
-rw------- 1 root root 444M 2009-04-15 07:46 srv-mfm-prod.log

Each log is full of lines with

info blockstats
ide0-hd0: rd_bytes=2262439424 wr_bytes=5755041792 rd_operations=212087 wr_operations=288841
ide1-cd0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
floppy0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
sd0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
info balloon
info version  -- show the version of qemu
info network  -- show the network state
info block  -- show the block devices
info blockstats  -- show block device statistics
info registers  -- show the cpu registers
info cpus  -- show infos for each CPU
info history  -- show the command line history
info irq  -- show the interrupts statistics (if available)
info pic  -- show i8259 (PIC) state
info pci  -- show PCI info
info tlb  -- show virtual to physical memory mappings
info mem  -- show the active virtual memory mappings
info jit  -- show dynamic compiler info
info kqemu  -- show kqemu information
info kvm  -- show kvm information
info usb  -- show guest USB devices
info usbhost  -- show host USB devices
info profile  -- show profiling information
info capture  -- show capture information
info snapshots  -- show the currently saved VM snapshots
info pcmcia  -- show guest PCMCIA status
info mice  -- show which guest mouse is receiving events
info vnc  -- show the vnc server status
info name  -- show the current VM name
info slirp  -- show SLIRP statistics
info migration  -- show migration information
...


I have not configured any of the log options in libvirtd.conf, so I
guess that the default log level is a bit to verbose.

unki at srv-mfm-vm02:~$ grep log /etc/libvirt/libvirtd.conf | grep -vE ^#
unki at srv-mfm-vm02:~$ 



-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt0 depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime libr
ii  libgnutls26            2.4.2-6+lenny1    the GNU TLS library - runtime libr
ii  libgpg-error0          1.4-2             library for common error values an
ii  libsasl2-2             2.1.22.dfsg1-23   Cyrus SASL - authentication abstra
ii  libselinux1            2.0.65-5          SELinux shared libraries
ii  libtasn1-3             1.4-1             Manage ASN.1 structures (runtime)
ii  libxenstore3.0         3.2.1-2           Xenstore communications library fo
ii  libxml2                2.6.32.dfsg-5     GNOME XML library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages libvirt0 recommends:
ii  lvm2                          2.02.39-6  The Linux Logical Volume Manager

libvirt0 suggests no packages.

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list