I just installed Bitcoin Core on a new machine and completed IBD using dbcache ~24000. It took ~40 mins to shutdown for the first time (after running for about 24 hours and completing the IBD). I'm wondering if this is normal, or if it could be related to either IBD or having such a high dbcache?
Shutdown logs for reference:
2022-08-05T22:39:55Z tor: Thread interrupt
2022-08-05T22:39:55Z addcon thread exit
2022-08-05T22:39:55Z torcontrol thread exit
2022-08-05T22:39:55Z opencon thread exit
2022-08-05T22:39:55Z Shutdown: In progress...
2022-08-05T22:39:55Z msghand thread exit
2022-08-05T22:39:55Z net thread exit
2022-08-05T22:39:55Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat started
2022-08-05T22:39:55Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat completed (0.02s)
2022-08-05T22:39:55Z scheduler thread exit
2022-08-05T22:39:55Z Writing 0 unbroadcast transactions to disk.
2022-08-05T22:39:56Z Dumped mempool: 0.003643s to copy, 0.227474s to dump
<hangs here for 40 mins>
2022-08-05T23:18:52Z Shutdown: done