We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33c0670 commit 9bb47ceCopy full SHA for 9bb47ce
packaging/aleph-vm/etc/systemd/system/ipfs.service
@@ -50,6 +50,9 @@ ProtectHome=true
50
RemoveIPC=true
51
RestrictSUIDSGID=true
52
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
53
+# set memory limit to avoid taking all the CRN ressource and getting OOM
54
+# https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgrmaxmemory
55
+Environment=GOMEMLIMIT=1900m
56
MemoryHigh=2G
57
MemoryMax=4G
58
0 commit comments