Too many open files and VM crash

Wered

Active Member
Feb 26, 2017
8
1
43
31
HP DL380P G8
CPU: E5-2650L x2
Memory: 384GB
PVE 8.0.4
ovs-vsctl (Open vSwitch) 3.1.0

So recently i have been running into an issue on one of my proxmox servers. From time to time when trying to modify a network adapter i will get an error saying the guest is not running and then the change shows as pending. The guest was running and somehow attempting to make a change to the adapter killed it. In this particular instance the disconnect checkbox was checked on the adapter and unchecking it caused the error. I see the following error from /var/log/syslog. Anyone have any recommendations to resolve this? I have included the config for the VM that had the issue today below, however i have had this issue on other VMs on the same host aswell.

Code:
2023-10-18T14:55:52.955149+00:00 mci-2 pvedaemon[2602455]: <root@pam> update VM 112: -net1 virtio=46:7D:F5:7A:AB:19,bridge=vmbr2,queues=20
2023-10-18T14:55:53.027983+00:00 mci-2 QEMU[2622764]: virtio_bus_set_host_notifier: unable to init event notifier: Too many open files (-24)
2023-10-18T14:55:53.028279+00:00 mci-2 QEMU[2622764]: vhost VQ 0 notifier binding failed: 24
2023-10-18T14:55:53.028448+00:00 mci-2 QEMU[2622764]: kvm: ../softmmu/memory.c:2608: memory_region_del_eventfd: Assertion `i != mr->ioeventfd_nb' failed.
2023-10-18T14:55:53.029409+00:00 mci-2 pvedaemon[2602455]: VM 112 qmp command failed - VM 112 qmp command 'set_link' failed - client closed connection
2023-10-18T14:55:53.029920+00:00 mci-2 pvedaemon[2602455]: VM 112 qmp command failed - VM 112 not running


Code:
bios: ovmf
boot: order=ide2;scsi0
cores: 10
cpu: host
efidisk0: Primary:vm-112-disk-0,efitype=4m,size=4M
ide2: none,media=cdrom
machine: q35
memory: 16384
meta: creation-qemu=7.2.0,ctime=1685055043
name: Router-1
net0: virtio=ba:af:e0:fd:e3:ca,bridge=vmbr0,link_down=1,queues=20
net1: virtio=46:7D:F5:7A:AB:19,bridge=vmbr2,queues=20
net2: virtio=D2:C0:0C:67:54:1D,bridge=vmbr3,queues=20
net3: virtio=56:26:E3:38:26:F2,bridge=vmbr5,queues=20
net4: virtio=22:93:52:0F:DE:00,bridge=vmbr4,link_down=1,queues=20,tag=816
numa: 0
onboot: 1
ostype: l26
scsi0: LDSAS:vm-112-disk-0,iothread=1,size=64G
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=e43f6456-fc21-467d-9a88-0b15317f46e8
sockets: 2
vmgenid: 1ad6d9e9-5e86-4b6a-a2e3-f0f5727a9f46
 
Last edited:

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!