alephium / gpu-miner

GNU Lesser General Public License v3.0
36 stars 31 forks source link

Miner - Memory leak #15

Open opimon opened 2 years ago

opimon commented 2 years ago

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 commented 2 years ago

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"

polarker commented 2 years ago

I will check today, thanks!