Hi, I am experiencing an issue where my qemu virtual machine crashes when:
“cat /proc/<pid>/maps | wc -l” is greater that “cat /proc/sys/vm/max_map_count” By default, the max_map_count is 65536 on my system. I am not confident that raising this limit will resolve the issue as the number of memory mapped regions appears to slowly increase without bound. I have pinned this issue on virtio-block, because the number of mapped memory regions only seems to increase while doing heavy block I/O when IOThreads are enabled. I am using qemu 8.0. Does someone have insight on what is causing so many mapped memory regions, whether a maximum exists, and how the maximum scales with vCPUs, queue depth, queue count, and number of IOThreads Thomas Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.