This commit is contained in:
Balena CI 2020-10-14 20:11:01 +03:00 committed by VersionBot
parent 85b9dd573f
commit c3ff277bb0
5 changed files with 42 additions and 3 deletions

View File

@ -1,3 +1,37 @@
- commits:
- subject: Improve calculation for used system memory
hash: dd5f62227a0b0d2024db924e7028c9fec8b2b1d9
body: >
The memory information reported by the supervisor currently
estimates the value of used memory as `MemTotal - MemFree`.
However, linux systems will try to cache and buffer as much
memory as possible, which will affect the output of `MemFree`
(from /proc/meminfo) and in consequence the memory usage seen
by the user on the dashboard, which will appear much greater than
it is.
The correct calculation should be `MemTotal - MemFree - Buffers -
Cached`,
which the calculation performed by `htop` and the `free` commands.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: '#1471'
connects-to: '#1471'
author: Felipe Lalanne
nested: []
version: 12.0.5
date: 2020-10-14T16:19:41.551Z
- commits:
- subject: Don't require an existing supervisor container to sync
hash: 629b410e10fb6590806d546ff94101951ec6c9a2

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
# v12.0.5
## (2020-10-14)
* Improve calculation for used system memory [Felipe Lalanne]
# v12.0.4
## (2020-10-13)

View File

@ -1 +1 @@
12.0.4
12.0.5

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-supervisor",
"version": "12.0.4",
"version": "12.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "12.0.4",
"version": "12.0.5",
"license": "Apache-2.0",
"repository": {
"type": "git",