I recently set up XMR-Stak-CPU Miner on my Linux system, and, as listed as a common occurrence in the README (located here), the program failed with the "MEMORY ALLOC FAILED: mmap failed" exit code. I performed the steps required to fix the error as recommended in the README (without logging off and back on as is necessary for changes to take effect), and the program began to work. Later on, after logging off and logging back in, I noticed the miner would once again not start and gave me the same "MEMORY ALLOC FAILED" error in spite of me already performing the fix.
I have no idea what could be causing the program to fail after successfully working for a full day without problem. I have tried changing the /etc/security/limits.conf file back to the original without success.
Any and all suggestions are welcome!
Thanks!