Comments (3)
Add LimitMEMLOCK=12GB
to the [Service]
section.
from xmrig.
Thanks. I've tried that (albeit with 12000000000
since systemd doesn't like the GB
suffix), but I still get the same error.
from xmrig.
Dunno, Debian based distros work fine with that and have always accepted "GB". Dig around in the systemd service defaults, Arch probably locked some extra stuff down.
For ref, relevant bits of systemctl show
from a Ubuntu systemd:
Version=249.11-0ubuntu3.12
Features=+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
Architecture=x86-64
...
DefaultTimerAccuracyUSec=1min
DefaultTimeoutStartUSec=1min 30s
DefaultTimeoutStopUSec=10s
DefaultTimeoutAbortUSec=10s
DefaultRestartUSec=100ms
DefaultStartLimitIntervalUSec=10s
DefaultStartLimitBurst=5
DefaultCPUAccounting=yes
DefaultBlockIOAccounting=no
DefaultMemoryAccounting=yes
DefaultTasksAccounting=yes
DefaultLimitCPU=infinity
DefaultLimitCPUSoft=infinity
DefaultLimitFSIZE=infinity
DefaultLimitFSIZESoft=infinity
DefaultLimitDATA=infinity
DefaultLimitDATASoft=infinity
DefaultLimitSTACK=infinity
DefaultLimitSTACKSoft=8388608
DefaultLimitCORE=infinity
DefaultLimitCORESoft=0
DefaultLimitRSS=infinity
DefaultLimitRSSSoft=infinity
DefaultLimitNOFILE=524288
DefaultLimitNOFILESoft=1024
DefaultLimitAS=infinity
DefaultLimitASSoft=infinity
DefaultLimitNPROC=168376
DefaultLimitNPROCSoft=168376
DefaultLimitMEMLOCK=65536
DefaultLimitMEMLOCKSoft=65536
DefaultLimitLOCKS=infinity
DefaultLimitLOCKSSoft=infinity
DefaultLimitSIGPENDING=168376
DefaultLimitSIGPENDINGSoft=168376
DefaultLimitMSGQUEUE=819200
DefaultLimitMSGQUEUESoft=819200
DefaultLimitNICE=0
DefaultLimitNICESoft=0
DefaultLimitRTPRIO=0
DefaultLimitRTPRIOSoft=0
DefaultLimitRTTIME=infinity
DefaultLimitRTTIMESoft=infinity
DefaultTasksMax=50512
TimerSlackNSec=50000
DefaultOOMPolicy=stop
Would bet some of the infinity
items have a limit in Arch.
from xmrig.
Related Issues (20)
- Question regarding xmrig in VM - failed to find sysfs cpu topology directory HOT 3
- XMRig has a Windows ARM32 build? HOT 2
- How to add a second donation address HOT 1
- Add support for scash #3445
- Is there a way to apply msr mod on a .cmd file? HOT 11
- "Pause On Battery" does not resume when switching back to AC HOT 1
- Start mining xmr with the help of the app code
- Minar con unmineable.com HOT 1
- DNS error: "unknown node or service" after updating HOT 2
- How work it
- Unable to compile xmrig in 64x MSYS2 , Windows . HOT 9
- NVIDIA CUDA error in Arch linux HOT 2
- GPU #0 COMPUTE ERROR solution
- Closing XMRig on Linux doesn't free the allocated memory
- connect error: "operation canceled" HOT 1
- XMRig for iOS and iPadOS
- add cpu algo xelishhashv2 to xmrig HOT 1
- invalid block template from daemon when mining salvium to local node HOT 3
- Compile Error VS 2019
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmrig.