Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
313 stars 112 forks source link

daemon shutting down #278

Closed Stardock2018 closed 2 years ago

Stardock2018 commented 4 years ago

The daemon shuts down no error is logs Is there a debug switch ?

Bendr0id commented 4 years ago

?

Which os?

What version?

Did you started it from commandline?

Stardock2018 commented 4 years ago

windows 10 version 2.10 and 2.0.0 i have tried running in conmandline and and normal exec. both shutdown but a random times

Bendr0id commented 4 years ago

What do you mean by shutdown? Logs? What does the console printout?

Stardock2018 commented 4 years ago

if i exec the daemon right click run and admin. the daemon program shutsdown window disappears. if i use CMD line and exec there is no console output the daemon just stops.

Bendr0id commented 4 years ago

daemon + miner in same directory i hope?

Stardock2018 commented 4 years ago

yes

Bendr0id commented 4 years ago

Thats very strange. What happens when you start the miner from commandline client?

xmrigMiner.exe --daemonized

Stardock2018 commented 4 years ago

to clarify the daemon does start and runs for a random amount of time. 5 min 2 hours etc....

Bendr0id commented 4 years ago

which build are you using?

Bendr0id commented 4 years ago

sounds like a segfault

Stardock2018 commented 4 years ago

2.1.0

Bendr0id commented 4 years ago

Common, learn to write meaningful issues. Otherwise nobody can help. Again WHICH version of the miner are you using? GCC / MVC? Self compiled?

electroape commented 4 years ago

Make sure you have no antivirus software running, or miner's folder is excluded.

Stardock2018 commented 4 years ago

Sorry at the moment i am using MVC 2.1.0 version. and i have used the GCC version and it was doing the same thing. antivirus folder excluded allready.

Bendr0id commented 4 years ago

Hmm.. hard to say. Could have a thousand reasons. Bad memory is also possible since it happens randomly..

Bendr0id commented 4 years ago

Which algo do you mine? Is it a memory intensiv one or doesn't matter which algo you mine?

Stardock2018 commented 4 years ago

loki ok ty anyway

Bendr0id commented 4 years ago

ok, loki is using ramdomx. That could be indeed a memory issue. Did you see same problems when mining a CN coin?

electroape commented 4 years ago

If that's the memory issue it should be reproduceable without a daemon. Try to run miner without daemon or run upstream miner version (XMRig) to see if it behaves the same.

Bendr0id commented 4 years ago

Running the miner without the daemon should have the same issue. The daemon is just a luncher.

Stardock2018 commented 4 years ago

Xmrig works fine no problem.

Bendr0id commented 4 years ago

Hmm. Thats even more strange.. Did you try 3.x or 4.x version?

Bendr0id commented 4 years ago

The whole randomx/loki code is exactly the same as in xmrig

Stardock2018 commented 4 years ago

4.3.1-beta mod date 2019-10-17 11:40AM

Bendr0id commented 4 years ago

Please test with 3.x version to see if its reproducable

electroape commented 4 years ago

See, it looks to me more like an issue with antivirus software, are you sure you've excluded it ? Is there a way to disable antivirus software temporarily ?

Stardock2018 commented 4 years ago

I have the XmrigCC running on 20 computers working fine. Just 2 windows 10 systems having this problem. thats why i asked for debug command.

electroape commented 4 years ago

Naturally, the question is what's the differences between these 2 systems and the rest ?

Stardock2018 commented 4 years ago

2 totaly different systems i9 32 GB mem / AMD threadripper 2990wx 32 GB MEM different av i turned the av's off.

Bendr0id commented 4 years ago

I think it is a segmentation fault. But the daemon is there for restart the miner in that case, which is obviously not happening. I'll look into that

Stardock2018 commented 4 years ago

thank you

Bendr0id commented 4 years ago

I tried to reproduce it by forcing the miner to crash. But the daemon just restarts it. When this happens the next time, a screenshot would be very helpful

Stardock2018 commented 4 years ago

ok i will send a pic. when it happens again.

Stardock2018 commented 4 years ago

image

Stardock2018 commented 4 years ago

this pic screen shot is from my i7 windows 10

Bendr0id commented 4 years ago

This looks like a segfaul. But is it xmrig 4.3.1 beta or xmrigcc running?

Bendr0id commented 4 years ago

No response... Is this problem still existing?

Stardock2018 commented 4 years ago

Yes. I am still having the problem. All good though I just wrote a script to restart it.

Bendr0id commented 4 years ago

Oh it's happening on AMD CPUs right?

Please try to disable "Opcache" in BIOS. This is a known problem with ryzen CPUs.

Stardock2018 commented 4 years ago

Disabling the "Opcache" didn't work still the same problem