Skip to content
Snippets Groups Projects
Commit ef6e5c4c authored by OpenLedger Servers's avatar OpenLedger Servers Committed by Eric Frias
Browse files

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
parent b9ca4dcd
No related branches found
No related tags found
1 merge request!85Don't hard-code the 'haf-world' docker-compose prefix in assisted startup.
Pipeline #119361 failed
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment