gpu-miner icon indicating copy to clipboard operation
gpu-miner copied to clipboard

Miner - Memory leak

Open opimon opened this issue 4 years ago • 2 comments

The resident memory of gpu-miner still growing watch "ps --sort -rss -eo pid,pmem,rss,vsz,comm | head -16"

After x hours the system crash -> Reboot I have this phenomenon on 2 different rigs

I think that if you have a lot of RAM it is less noticeable.

I had 4GB and every 2 or 3 hours it would reboot. I upgraded to 8GB. It reboots less often but it still crashes.

opimon avatar Nov 17 '21 23:11 opimon

Workaround : Restart the gpu-miner every x hours.

kill $(ps aux | grep 'gpu-miner' | awk '{print $2}') screen -dmS MINER bash -c "cd /home/user/alephium/gpu-miner; ./miner.sh; exec sh"

opimon avatar Nov 18 '21 07:11 opimon

I will check today, thanks!

polarker avatar Nov 18 '21 08:11 polarker