[pve-devel] [PATCH qemu-server 0/1] increase qemu max openfiles limit

2023-12-10 Thread Alexandre Derumier
Hi, The current qemu max openfile limit is 1024. This is really to low it you use ceph storage through librbd. For each disk, qemu process is doing 1 tcp connection to each osd. I have trigger a bug this week, a vm with 6 disk and a cluster with 100 osd, At boot vm was working fine, but after

[pve-devel] [PATCH qemu-server 1/1] fix #4507 : increase qemu max openfiles limit

2023-12-10 Thread Alexandre Derumier
--- PVE/QemuServer.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 2063e66..eba26f3 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -5991,6 +5991,12 @@ sub vm_start_nolock { eval { PVE::QemuServer::PCI::reserve_pci_usage($pci_