[Bug 282098] bhyve is eating my memory and running far beyond the configured limits
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282098] bhyve is eating my memory and running far beyond the configured limits"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282098] bhyve is eating my memory and running far beyond the configured limits"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282098] bhyve is eating my memory and running far beyond the configured limits"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282098] bhyve is eating my memory and running far beyond the configured limits"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Oct 2024 07:28:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282098
Bug ID: 282098
Summary: bhyve is eating my memory and running far beyond the
configured limits
Product: Base System
Version: 13.3-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bhyve
Assignee: virtualization@FreeBSD.org
Reporter: elk-freebsd@wetznet.de
Looks like there is a memory leak in bhyve.
I running Truenas 13.3 which is on Freebsd 13.3-RELEASE-p4 on AMD Ryzen 5 PRO
4650G
bhyve is configured for two VMs one with 4GB (Windows) and one with 8GB (linux)
But If I start memory intensive actions inside the linux VM inside a docker
this raised the memory usage far beyond the 8GB..
14,6GB was the last I saw yesterday and this morning the VMs were killed by
Truenas cos of OOM.
Inside the vm the memory is stable at max 8GB. Swap is used sometimes as well
internal the vm.
The vm is configured with this xml ...
<domain type='bhyve' xmlns:bhyve='http://libvirt.org/schemas/domain/bhyve/1.0'>
<name>1_Jellyfin</name>
<uuid>615af2a2-84e0-434e-b544-b4c9e7c0872d</uuid>
<title>Jellyfin</title>
<description>Jellyfin</description>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
<vcpu placement='static'>8</vcpu>
<os>
<type arch='x86_64'>hvm</type>
<loader readonly='yes'
type='pflash'>/usr/local/share/uefi-firmware/BHYVE_UEFI.fd</loader>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<msrs unknown='ignore'/>
</features>
<cpu>
<topology sockets='1' dies='1' cores='4' threads='2'/>
</cpu>
<clock offset='localtime'/>
.....
But the bhyve VM Jellyfin is using 14G at this moment
Wed Sep 18 14:24:00 CEST 2024
UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME
COMMAND
0 2106 1 10 20 0 14774616 14149064 kqread SC - 1689:51.13
bhyve: 1_Jellyfin (bhyve)
--
You are receiving this mail because:
You are the assignee for the bug.