-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
rhel-9.3.0
-
Yes
-
Moderate
-
rhel-sst-virtualization-storage
-
ssg_virtualization
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
Qemu-kvm hits default 1024 file descriptors ulimit and dies during guest's boot
Version-Release number of selected component (if applicable):
host version:
kernel-5.14.0-358.el9.x86_64
qemu-kvm-8.0.0-10.el9.x86_64
edk2-ovmf-20230524-2.el9.noarch
guest: rhel9.3.0
How reproducible:
1/1
Steps to Reproduce:
1. boot a guest with 416 vcpus
-smp 416,maxcpus=416,sockets=8,cores=26,threads=2 \
Actual results:
- sh q35.sh
QEMU 8.0.0 monitor - type 'help' for more information
(qemu) qemu-kvm: virtio-scsi: Failed to set guest notifiers (-24), ensure -accel kvm is set.
qemu-kvm: virtio_bus_start_ioeventfd: failed. Fallback to userspace (slower).
(qemu) qemu-kvm: ../hw/scsi/virtio-scsi.c:923: void virtio_scsi_reset(VirtIODevice *): Assertion `!s->dataplane_started' failed.
q35.sh: line 35: 19748 Aborted (core dumped) /usr/libexec/qemu-kvm -name 'avocado-vt-vm1' -sandbox on -blockdev node-name=file_ovmf_code,driver=file,filename=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd,auto-read-only=on,discard=unmap -blockdev node-name=drive_ovmf_code,driver=raw,read-only=on,file=file_ovmf_code -blockdev node-name=file_ovmf_vars,driver=file,filename=/home/OVMF_VARS.fd,auto-read-only=on,discard=unmap -blockdev node-name=drive_ovmf_vars,driver=raw,read-only=off,file=file_ovmf_vars -machine q35,kernel-irqchip=split,memory-backend=mem-machine_mem,pflash0=drive_ovmf_code,pflash1=drive_ovmf_vars,smbios-entry-point-type=64 -device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 -device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0 -nodefaults -device intel-iommu,intremap=on,eim=on -device VGA,bus=pcie.0,addr=0x2 -m 125952 -smp 416,maxcpus=416,sockets=8,cores=26,threads=2 -object memory-backend-ram,size=125952M,id=mem-machine_mem -cpu 'Cascadelake-Server-noTSX',+kvm_pv_unhalt -device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 -device qemu-xhci,id=usb1,bus=pcie-root-port-1,addr=0x0 -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pcie-root-port-2,addr=0x0 -blockdev '{"node-name": "file_image1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/rhel930-64-virtio-scsi-ovmf.qcow2", "cache": {"direct": true, "no-flush": false}}' -blockdev '{"node-name": "drive_image1", "driver": "qcow2", "read-only": false, "cache":
, "file": "file_image1"}' -device scsi-hd,id=image1,drive=drive_image1,write-cache=on,bootindex=0 -device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 -device virtio-net-pci,mac=9a:4e:4d:eb:a6:ec,id=idGDSRKP,netdev=idgmmUaD,bus=pcie-root-port-3,addr=0x0 -netdev tap,id=idgmmUaD,vhost=on -vnc :0 -rtc base=utc,clock=host,driftfix=slew -boot menu=off,order=cdn,once=c,strict=off -global mch.extended-tseg-mbytes=48 -enable-kvm -monitor stdio
Expected results:
boot a guest succeeded.
Additional info:
1. In host
- ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 24767708
max locked memory (kbytes, -l) 8192
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 24767708
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
- is duplicated by
-
RHEL-24594 multi vioser chardev cause qemu crash (core dump)
- Closed
- external trackers