ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

Hashrate suddenly drops to 0/stops mining #2119

Open bramnet opened 3 years ago

bramnet commented 3 years ago

Describe the bug For some reason, during the mining process, the process will start reporting the hashrate as 0 and the mining has ceased.

To Reproduce I have yet to find a way to solidly reproduced the issue. Mostly I've just noticed it when leaving my computer alone for long periods of time, it "sometimes" happens while I'm gone. One thing I do that might be unusual is set the process priority to realtime.

Expected behavior If there's a problem, I expect it to either tell me the problem, and/or attempt to fix it and continue mining

Screenshots (Optional)

 m 23:52:10 <unknown> 29:39 A726 27.25 Mh - cu0 27.25
 i 23:52:10 <unknown> Job: c049c15d... block 11657848 us1.ethermine.org [censored]
 i 23:52:14 <unknown> Job: f607b9ef... block 11657848 us1.ethermine.org [censored]
 m 23:52:15 <unknown> 29:39 A726 27.25 Mh - cu0 27.25
 i 23:52:18 <unknown> Job: 1f733c53... block 11657848 us1.ethermine.org [censored]
 m 23:52:20 <unknown> 29:39 A726 26.42 Mh - cu0 26.42
 i 23:52:22 <unknown> Job: 07ed2368... block 11657848 us1.ethermine.org [censored]
 m 23:52:25 <unknown> 29:39 A726 27.27 Mh - cu0 27.27
 i 23:52:26 <unknown> Job: 6c10d158... block 11657848 us1.ethermine.org [censored]
 i 23:52:29 <unknown> Job: 6c37dd65... block 11657849 us1.ethermine.org [censored]
 i 23:52:30 <unknown> Job: 82fc9674... block 11657849 us1.ethermine.org [censored]
 m 23:52:30 <unknown> 29:39 A726 27.27 Mh - cu0 27.27
 i 23:52:33 <unknown> Job: ecb28a19... block 11657849 us1.ethermine.org [censored]
 m 23:52:35 <unknown> 29:39 A726 27.27 Mh - cu0 27.27
 i 23:52:38 <unknown> Job: cc23f9dd... block 11657849 us1.ethermine.org [censored]
 m 23:52:40 <unknown> 29:39 A726 0.00 h - cu0 0.00
 i 23:52:42 <unknown> Job: e77c647c... block 11657849 us1.ethermine.org [censored]
 m 23:52:45 <unknown> 29:39 A726 0.00 h - cu0 0.00
 i 23:52:46 <unknown> Job: 243eed37... block 11657849 us1.ethermine.org [censored]
 i 23:52:50 <unknown> Job: e5b759c5... block 11657849 us1.ethermine.org [censored]
 m 23:52:50 <unknown> 29:40 A726 0.00 h - cu0 0.00
 i 23:52:53 <unknown> Job: 5bbb4696... block 11657849 us1.ethermine.org [censored]
 m 23:52:55 <unknown> 29:40 A726 0.00 h - cu0 0.00
 i 23:52:57 <unknown> Job: ccdef16d... block 11657849 us1.ethermine.org [censored]
 m 23:53:00 <unknown> 29:40 A726 0.00 h - cu0 0.00

Environment (please complete the following information):

TobiSc commented 3 years ago

I have the same problem. It only happens when I am away from my PC. The time it takes until this happens seems random, sometimes it stops mining after half an hour, sometimes after many hours.

Environment (please complete the following information):

Operating System: Windows 10 Home 10.0.19042 Hardware NVIDIA GeForce GTX 1080 Ethminer Version 0.18 Ethminer options used -P

AndreaLanfranchi commented 3 years ago

Maybe no need to remind this but ... are you sure you have NO screen saver active ?

TobiSc commented 3 years ago

@AndreaLanfranchi For me neither is screensaver set, nor is standby mode activated

bramnet commented 3 years ago

Maybe no need to remind this but ... are you sure you have NO screen saver active ?

I can confirm that I don't have any screensaver and my power settings are set to never sleep

dmitrygashnikov commented 3 years ago

Same problem. No sleep\hibernation or any of this. This proplem occures randomly (miner may work 1-2 days with no errors and then this happening or it may fall in this state with Mh - cu0 0.00 and cu1 0.00 after few minutes).

Environment : Operating System: windows 10 enterprise ltsc Hardware NVIDIA GeForce Titan XP x2 Ethminer Version ethminer 0.19.0-alpha.0 Ethminer options used -U -P Starting by .bat file

dmitrygashnikov commented 3 years ago

I am mentioned above same error(as i thinking), and as i understand miner is randomly spitting errors in log - it may happen not evry time, based on my expirience. Some times miner still working with zero hashrate, sometimes i find it closed by it self.

TobiSc commented 3 years ago

In the last few days, i noticed this behaviour also often occured when i checked my pc if the miner is still running. So the miner was running all night long, and when i checked in the morning, it was still active. But a few seconds later the hashrate again dropped to zero. The best guess I have at this point is that this behaviour is linked to my screens turning on and off, but does this make any sense?

TobiSc commented 3 years ago

Today, I noticed a slightly different behaviour. After 3:29 hours the miner stopped outputting anything. The cmd window was still opened, but there was no text output (and no mining) for the past 16 hours.

tahakhan88 commented 3 years ago

I've been mining since Last month and just recently it started happening very frequently with me. It turns out whenever:

Important note: Past whole month i've used photoshop, illustrator, premiere while mining without any trouble. I think the problem is with the new update of Nvidia drivers. There is another update on Nvidia drivers im going to install them now and see if it fixes the issue.

Environment : Operating System: windows 10 Home Hardware NVIDIA GeForce 2080Ti Ethminer Version ethminer 0.19.0-alpha.0 Ethminer options used -U -P Starting by .bat file

Thorinair commented 3 years ago

Just chiming in to say that I have exactly the same issue. No sleep or screen off or anything like that. The miner will randomly start being 0 hash rate, but this only seems to happen when the computer is unattended for some time.

Environment: Operating System: Windows 10 Pro Hardware: NVIDIA GeForce RTX 2070 Super Ethminer Version: 0.18.0 Ethminer options used: -P Starting by .bat file

monkeydust commented 3 years ago

Same issue. Any ideas?

DaFunkMonkey commented 3 years ago

<----- Here too

Emtaborda commented 3 years ago

Same Problem. I used a GTX 980 as a main GPU to avoid "idle" when mining with 3060. But when i only use the RTX, it drops out my hashrate to 15, 2 minutes after im away from my pc (With my monitor / screen on). No "idle" mode in configuration of energy, and im using a Tv as a Dummy. No real solutions yet.

btw-its-amaan commented 3 years ago

Same Problem. But my rig will be keeping on mining with hashrate down from 1 to 2 after like 6 hours or something. I have an rx580 . Found any solutions, anybody?

czanze commented 3 years ago

Hey, running into the same issue. 3070x2 and 1660x1 as main card. Had the rig running a month and a half straight no problems. Thought to give her a break and rest/update etc. Same setup and issues as above. I had this issue before and was able to open up the pcie port, something I found on a different thread where basically if the pcie slot didn’t have an active mining gpu at that second it would view the port as not active and drop it. However that doesn’t appear to be the problem here.