Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/98-udp-buf.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This configuration file adjusts the UDP buffer sizes for optimal network performance.
# It sets the maximum receive (rmem_max) and send (wmem_max) buffer sizes for UDP sockets.
# This file is typically placed in the /etc/sysctl.d/ directory.
net.core.rmem_max=7500000
Comment thread
Kubuxu marked this conversation as resolved.
net.core.wmem_max=7500000
5 changes: 4 additions & 1 deletion scripts/lotus-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ ExecStart=/usr/local/bin/lotus daemon
Restart=always
RestartSec=10

StartLimitIntervalSec=60s
StartLimitBurst=4

# If running a node in a shared, memory constrained environment, enable MemoryAccounting to put
# pressure on allocations. This will slow the process down but keep it approximately within the
# limit specified.
#MemoryAccounting=true
#MemoryHigh=64G
#MemoryMax=96G

LimitNOFILE=8192:10240
LimitNOFILE=8192:16384

[Install]
WantedBy=multi-user.target
Loading