feat: 添加内存锁定资源限制以支持 RandomX 大页内存优化
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in 9s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -38s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 18s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in -24s
Build and Release / release (push) Has been skipped
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in 9s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -38s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 18s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in -24s
Build and Release / release (push) Has been skipped
This commit is contained in:
4
debian/p2pool.service
vendored
4
debian/p2pool.service
vendored
@@ -15,6 +15,10 @@ StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=p2pool
|
||||
|
||||
# Resource limits
|
||||
LimitMEMLOCK=infinity
|
||||
AmbientCapabilities=CAP_IPC_LOCK
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
|
||||
Reference in New Issue
Block a user