Recently AwesomeMiner began to stop mining after switching to sgminer (I'm on AMDs). From logs it seems to try and restart it a few times, each time complaining about
Process already closed
and
No connection could be made because the target machine actively refused it 127.0.0.1:4028
and then it just gives up. Restart on offline detection didn't help.
From the logs, it doesn't try to switch back to other miners, like EthDcrMiner, it just keeps pounding at the Sgminer until it gives up. I am able to start Sgminer manually using the same command from the log and it works fine. Also I've seen it working fine before with AwesomeMiner. I've checked and Firewall isn't a problem. Access to sgminer.exe is allowed on all ports and I see it listening on 4028 when running.
I didn't find much on this on the net, so coming to the source. It goes down every day, with a 100% repro rate, so I'm loosing hours of mining. Any ideas? Here is the log snippet.
Can you use the Diagnostics button in the toolbar to get more output information from sgminer itself? It may give some hint about what is wrong. In general, Sgminer is the most difficult mining software to configure because it has so many parameters and they depend very much on the GPU's being used, making it difficult to give general recommendations.
All other mining software run stable on your system except Sgminer? What about if you try to disable the Neoscrypt algorithm, if it's only that one?
Yes, only Sgminer and Sgminer-GM. I disabled both in the AMD profit profile and the mining hasn't stopped ever since, but that defeats the purpose of profit switching. My cards are R9 290s and R9 Fury X. In both cases the same repro.
I've caught Sgminer crash process one one of the systems, but don't see similar crashes on other machines where AwesomeMiner just gave up. Here's what it logged:
Faulting application name: sgminer.exe, version: 0.0.0.0, time stamp: 0x001dc4e4
Faulting module name: amdocl64.dll, version: 22.19.685.0, time stamp: 0x59d6a487
Exception code: 0xc0000005
Fault offset: 0x000000000049e606
Faulting process id: 0x1d64
Faulting application start time: 0x01d3633675ea8bbb
Faulting application path: C:\Users\Michael\AppData\Local\AwesomeMiner\sgminer-gm-5.5.4_1\sgminer-gm\sgminer.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\c0318724.inf_amd64_3e17b73ae627ea03\amdocl64.dll
Report Id: 0678aba1-075a-43b9-9b9d-c5d29519691d
Faulting package full name:
Faulting package-relative application ID:
Which looks like a one-off display driver induced bug (17.10.1 radeon drivers).
I think the root cause for this AwesomeMiner giving up is its inability to connect to port 4028 on localhost for Sgminer(-gm). I assume that's the control port it uses for manage all miners. It looks like sgminer process dies, and AwesomeMiner doesn't realize that and keeps trying to talk to it, instead of switching to another miner.
What would I be looking for in the Diagnostics log?