Add note on dynamic memory management for restarts

This commit is contained in:
2026-03-06 10:56:23 +01:00
parent 88bd83b07e
commit 70fea39d03
2 changed files with 3 additions and 0 deletions

View File

@@ -271,6 +271,8 @@ For release specific notes visit the [ClusterCockpit Documentation](https://clus
## Known issues
- The new dynamic memory management is not bullet proof yet across restarts. We
will fix that in a subsequent patch release
- Currently energy footprint metrics of type energy are ignored for calculating
total energy.
- With energy footprint metrics of type power the unit is ignored and it is

View File

@@ -395,6 +395,7 @@ func runServer(ctx context.Context) error {
// Set GC percent if not configured
if os.Getenv(envGOGC) == "" {
// trigger GC when heap grows 15% above the previous live set
debug.SetGCPercent(15)
}
runtime.SystemdNotify(true, "running")