fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

Watchdog function #618

Open leisegang opened 6 years ago

leisegang commented 6 years ago

Using win 10.rx 580.3x

My miner just quits at like 3 pm this night. Dine that several times before after 10-16hrs of mining.

I can't see anything in the logs and the miner folder is whitelisted in windows defender.

Is there any bat file I make so that when it quits all of the sudden it restarts again?

anhphan commented 6 years ago

Just simple bat file:


:StartMining
xmr-stak.exe
timeout 10
goto StartMining
anhphan commented 6 years ago

Addtional info, you also need to disable windows error reporting, otherwise it's will display a dialog and wait for you response:

https://superuser.com/questions/950997/disable-error-reporting-in-windows-10-home

leisegang commented 6 years ago

Often it hangs on a share or just times out without quitting the program.i don't want to restart the process every hour to have it up most of the day. I want 100%. Claymore has watchdog and it works great. Restarts miner or rig and continues.

Ianmcmill commented 6 years ago

I have a similar issue. Used a R9 270x without problems. Installed another HD 7850 (default clocks) but after some hours causes the process to hang. Maybe hardware timing issues. Using 2 8x PCIe slots next to each other. Temperature is fine at max 65°C on the 7850 and 60°C on the 270x.

When both cards run in one xmr-stak process the 7850 causes the whole process to get stuck after some time.

I started two seperate threads for each card and the 270x runs fine whereas the 7850 still gets stuck. Watchdog and/or memory clock settings+fan speed as in Claymore would be nice too have.

psychocrypt commented 6 years ago

@leisegang We are currently fixing a few miner race conditions in the dev branch. Hopefully this solves also your issue.