-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
Description
LocalAI version:
3.9.0
Environment, CPU architecture, OS, and Version:
root@localai:~# hostnamectl
Static hostname: localai
Icon name: computer-container
Chassis: container ☐
Machine ID: 2224f4d2a[..]
Boot ID: d5f39f07bba[..]
Virtualization: lxc
Operating System: Ubuntu 24.04.3 LTS
Kernel: Linux 6.8.0-86-generic
Architecture: x86-64
Describe the bug
In the Web UI the memory reported is the one of the LXD host and not the container in which LocalAI is running.
host # free -mh
total used free shared buff/cache available
Mem: 125Gi 53Gi 4.0Gi 5.0Gi 75Gi 72Gi
Swap: 15Gi 116Mi 15Gi
localai-container:~# free -mh
total used free shared buff/cache available
Mem: 20Gi 9.7Gi 7.7Gi 164Ki 2.7Gi 10Gi
Swap: 15Gi 40Ki 15Gi
In addition I'm not sure where the 91,8% occupation comes from, as I seem to have 72G available in the host, out of 128G.
To Reproduce
Expected behavior
Memory values reported consisted with those reported by free.
Logs
Additional context