reduce bitcoind memory usage w MALLOC_ARENA_MAX=1 (#3780)

This commit is contained in:
openoms 2023-05-08 21:29:51 +01:00 committed by GitHub
parent 9c25636217
commit 086b022698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Wants=network-online.target
#OnFailure=systemd-sendmail@%n
[Service]
Environment='MALLOC_ARENA_MAX=1'
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
ExecStart=/usr/local/bin/bitcoind -daemonwait \
-conf=/mnt/hdd/bitcoin/bitcoin.conf \

View File

@ -254,6 +254,7 @@ After=network-online.target
Wants=network-online.target
[Service]
Environment='MALLOC_ARENA_MAX=1'
ExecStart=/usr/local/bin/bitcoind -${CHAIN} \\
-daemonwait \\
-conf=/mnt/hdd/bitcoin/bitcoin.conf \\