From ef6e5c4cf7862a40bb02d32299bd3dfa44a8c479 Mon Sep 17 00:00:00 2001 From: SynaptiCAD User <sales@syncad.com> Date: Fri, 28 Mar 2025 18:16:13 +0000 Subject: [PATCH] In assisted startup, create a ramdisk as long as there is at least 58G usable RAM (lowered from 60G). Starting in Ubuntu 24.10, they default to reserving 1G for crashkernel, which was dropping some systems with 64G physical memory below the cutoff --- assisted_startup.sh | 4 ++-- backend.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assisted_startup.sh b/assisted_startup.sh index 7174480..2b83814 100755 --- a/assisted_startup.sh +++ b/assisted_startup.sh @@ -274,8 +274,8 @@ else swap_location=$(swapon --show=NAME --noheadings) - if [[ $physical_memory -ge 60 && $free_memory -gt 30 && $NO_RAMDISK != 1 ]]; then - echo "There is more than 64 gigabytes of RAM. Mounting shared_mem..." + if [[ $physical_memory -ge 58 && $free_memory -gt 30 && $NO_RAMDISK != 1 ]]; then + echo "There is at least 58 gigabytes of usable RAM. Mounting shared_mem..." if [ ! -d "/mnt/haf_shared_mem" ]; then mkdir /mnt/haf_shared_mem fi diff --git a/backend.yaml b/backend.yaml index 0331513..661a903 100644 --- a/backend.yaml +++ b/backend.yaml @@ -20,7 +20,7 @@ services: condition: service_healthy pgadmin: - image: dpage/pgadmin4:${PGADMIN_VERSION:-8.14} + image: dpage/pgadmin4:${PGADMIN_VERSION:-9.1.0} profiles: - admin environment: -- GitLab