kvm process using deleted files (xymon libs alert)

Lefuneste

Active Member
Mar 7, 2017
13
18
43
52
Hi there,

I have a strange behaviour on my Proxmox Host running 4.4-12

I have been monitoring my host server from a remote computer with Xymon

All of a suden in last Februray following an apt-upgrade I started to get an alert on the libs category of Xymon monitoring

The following processes have libs linked that were upgraded:
root:
/usr/bin/kvm (13597 1754)

After drilling out the meaning of this alert I used checkrestart utility from debian-goodies package to find out what was causing the issue. It seems that all my kvm process are "using" what seems to be deleted "[aio]" storage

root@host / > checkrestart -v
Found 2 processes using old versions of upgraded files
(1 distinct program)
Process /usr/bin/kvm (PID: 13597)
List of deleted files in use:
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
Process /usr/bin/kvm (PID: 1754)
List of deleted files in use:
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
Running:['dpkg-query', '--search', '/usr/bin/kvm']
Reading line: pve-qemu-kvm: /usr/bin/kvm

(1 distinct packages)
These processes do not seem to have an associated init script to restart them:
pve-qemu-kvm:
13597 /usr/bin/kvm
1754 /usr/bin/kvm

I have no idea what this means...
Rebooting the host does not change this behaviour.
I have checked all packages and dependencies, all seems fine, no broken dependencies. I have tried to "apt-get install --reinstall" various packages that were upgraded when this started to occur with no change.

The VM were migrated from a Promox 3 system but this alert in Xymon did not appear for several months.

The VM themselves are working fine, no problems whatsoever. Storage also seems fine no SMART issues or IO problems.

Is there a way to make the VM square again (and appear OK in Xymon) or is this behaviour to be expected due to the VM storage system used in Proxmox 4 ? (LVM-Thin)

Also is it normal that I get the second warning about a missing init script ? What is to be expected in this area ? VM start and stop perfectly fine both in CLI and GUI modes.

Thanks for your help !
 
Hi there,

I have a strange behaviour on my Proxmox Host running 4.4-12

I have been monitoring my host server from a remote computer with Xymon

All of a suden in last Februray following an apt-upgrade I started to get an alert on the libs category of Xymon monitoring

The following processes have libs linked that were upgraded:
root:
/usr/bin/kvm (13597 1754)

After drilling out the meaning of this alert I used checkrestart utility from debian-goodies package to find out what was causing the issue. It seems that all my kvm process are "using" what seems to be deleted "[aio]" storage

root@host / > checkrestart -v
Found 2 processes using old versions of upgraded files
(1 distinct program)
Process /usr/bin/kvm (PID: 13597)
List of deleted files in use:
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
Process /usr/bin/kvm (PID: 1754)
List of deleted files in use:
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
/[aio]
Running:['dpkg-query', '--search', '/usr/bin/kvm']
Reading line: pve-qemu-kvm: /usr/bin/kvm

(1 distinct packages)
These processes do not seem to have an associated init script to restart them:
pve-qemu-kvm:
13597 /usr/bin/kvm
1754 /usr/bin/kvm

I have no idea what this means...

Nothing (aio is not really a file) - you can ignore this. Obviously Xymon reacts based on "checkrestart".

You may treat this as a bug in debian-goodies, it has nothing to do with Proxmox VE.
 
This issue has been solved by adding the "[aio]" string to the libs whitelist :
-Create a file /etc/xymon/libs.local.yaml
-Put this inside :
# generic config file for the libs test
# specify local additions in /etc/xymon/libs.local.yaml
---
whitelist:
*:
-'^/\[aio\]'
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!