CentOS-6.4_x86_64 I have a KVM virtual machine (several actually) which acts as a warm spare for another kvm instance running on a different physical host. Each hour it backs up the live system using rsync. This morning I discovered that the backup instance was running at 99% utilisation and that the process consuming the entire virtual cpu was this: sh -c rpm -q -a --queryformat "%{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n" 2>/dev/null In fact there were two identical instances of these processes, one the parent of the other. The vm instance does not have access to the internet as its physical host is connected to the physical host of the live kvm using a x-over patch cable. Where is this process started from? What does it do? And why is it consuming so much cpu.? Does anyone here have any ideas? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Am 12.07.2013 16:06, schrieb James B. Byrne:> > CentOS-6.4_x86_64 > > I have a KVM virtual machine (several actually) which acts as a warm > spare for another kvm instance running on a different physical host. > Each hour it backs up the live system using rsync. This morning I > discovered that the backup instance was running at 99% utilisation and > that the process consuming the entire virtual cpu was this: > > sh -c rpm -q -a --queryformat > "%{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n" > 2>/dev/null > > In fact there were two identical instances of these processes, one the > parent of the other. > > The vm instance does not have access to the internet as its physical > host is connected to the physical host of the live kvm using a x-over > patch cable. > > Where is this process started from? What does it do? And why is it > consuming so much cpu.? > > Does anyone here have any ideas?rpm-cron-4.8.0-32.el6.noarch which contains /etc/cron.daily/rpm It writes a file which contains a list of installed RPM packages on the system. Alexander
On Fri, July 12, 2013 13:34, Alexander Dalloz wrote:> Am 12.07.2013 16:06, schrieb James B. Byrne: >> >> CentOS-6.4_x86_64 >> >> I have a KVM virtual machine (several actually) which acts as a warm >> spare for another kvm instance running on a different physical host. >> Each hour it backs up the live system using rsync. This morning I >> discovered that the backup instance was running at 99% utilisation >> and that the process consuming the entire virtual cpu was this: >> >> sh -c rpm -q -a --queryformat >> "%{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n" >> 2>/dev/null >> >> In fact there were two identical instances of these processes, one. . .>> Where is this process started from? What does it do? And why is it >> consuming so much cpu.? >> >> Does anyone here have any ideas? > > rpm-cron-4.8.0-32.el6.noarch > > which contains > > /etc/cron.daily/rpm > > It writes a file which contains a list of installed RPM packages on > the system.Does anyone have any suggestion as why this process would get hung up like this? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3