I'm trying to add a new replica server to an existing FreeIPA domain. It
is failing to start dirsrv because there is not enough ramdisk for the db
cache. This is still a very small domain with less than one dozen
users/hosts. Adding the first replica was not a problem about 5 months
ago.
This is on Rocky Linux 9.3 with all updates.
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.227167031 +0000] - INFO - bdb_config_upgrade_dse_info
- create config entry from old config
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.229348479 +0000] - NOTICE - bdb_start_autotune -
found 16435108k physical memory
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.229942914 +0000] - NOTICE - bdb_start_autotune -
found 15545732k available
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.230458948 +0000] - NOTICE - bdb_start_autotune -
cache autosizing: db cache: 1027194k
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.230996494 +0000] - NOTICE - bdb_start_autotune -
total cache size: 1051846912 B;
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.231761490 +0000] - ERR - bdb_no_diskspace - No enough
space left on device (/dev/shm/slapd-APLD-AI) (361705472 bytes); at least
1157031603 bytes space is needed for db region files
Jan 18 18:27:00 ipa01.msp01.apld.ai ns-slapd[2033]:
[18/Jan/2024:18:27:00.232231378 +0000] - ERR - ldbm_back_start - Failed to
init database, err=28 Unexpected dbimpl error code
The add replica command:
# ipa-replica-install -n apld.ai -r APLD.AI -d --setup-dns --server=
ipa01.den01.apld.ai --server=ipa02.den01.apld.ai --forwarder=10.53.30.21
--forwarder=10.53.30.22 --setup-ca --setup-adtrust --add-agents
--mkhomedir -p {my_otp}
I'm guessing something changed between RHEL/Rocky 9.2 and 9.3, and it wants
much more RAM for the db here. However, the existing servers have been
upgraded to 9.3 and start just fine. I've tried doubling the ram to 16GB,
but the problem persists.
Any idea what is going on or how to fix this?
-Chip
Show replies by date