Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple device groups for MRR still not working #705

Closed
acos0874 opened this issue Oct 29, 2019 · 18 comments
Closed

Multiple device groups for MRR still not working #705

acos0874 opened this issue Oct 29, 2019 · 18 comments
Assignees
Labels
bug Something isn't working solved An issue has been solved

Comments

@acos0874
Copy link

Hi, I raised an issue before about the multiple workers on one rig not being picked up correctly in recent versions but the recent fix doesn't seem to have solved the problem.

I have a rig with a mixture of 1070s and 1660Tis and the rentals seem to be working when both device groups are rented at the same time but when only one is rented it won't switch to MRR. I'm currently running two instances of RBM to get round it. I've uploaded a copy of the debug file.
Thanks again!

debug_2019-10-29.zip

@RainbowMiner
Copy link
Owner

Thank you for checking this again. I will fix it asap

@acos0874
Copy link
Author

Thank you. To help the search, the MTP rental on the 1660tis ran up until about 3:16am (although there were some jitters around 11pm and 1:30am on both rentals. The C29D then ran consistently till just before 7am when it went down completely and refused to launch (nothing showed up on watchdog).

I also have a rental on a second separate rig that uses a different MRR API key.

@RainbowMiner RainbowMiner self-assigned this Oct 29, 2019
@RainbowMiner RainbowMiner added the bug Something isn't working label Oct 29, 2019
@RainbowMiner
Copy link
Owner

RainbowMiner commented Oct 29, 2019

I just noticed, that I had imported a bug into the debug file creation. The config is missing. Would you please send me your current .\Config\config.txt and just the MiningRigRentals part in .\Config\pools.config.txt (please remove wallets and keys and secrets before posting)?

@acos0874
Copy link
Author

pools.config - Copy.zip

@RainbowMiner
Copy link
Owner

Thank you. Could you please send me the .\Config\devices.config.txt , too? Just to be sure.

@acos0874
Copy link
Author

devices.config.txt

@acos0874
Copy link
Author

Any luck with this please?

@RainbowMiner
Copy link
Owner

I am having hard times reproducing this. So just to make it clear:

  • all rigs (and device-rigs) are being announced at MRR ?
  • what happens, if only one half of the rig is being rented? Does the mining start and finish, until end?
  • the problem occurs only, if both half of the rig are rented and one rental ends?
  • does the remaining rental stop immediate, or does it continue for some time?
  • if you restart RainbowMiner, does the remaining rental start?
  • the problem never happened before version v4.4.5.0 ? 100% sure? I ask, because I just cannot figure out the difference.

@acos0874
Copy link
Author

I've fired up a single instance of RBM running version 4.4.5.4 and all seems fine as both rigs are rented. I'll monitor for the remainder of the rentals. I had wondered if it was an issue with the MRR API but I don't know how I would check that,

@acos0874
Copy link
Author

The problem still seems to be there. At around 21:04 the device groups were happily mining on the c29d orders. I've checked the logs and there are no error messages but both workers switched to ethash
INFO: Stopping miner Gminer-GPU#02-GPU#04-GPU#05-GPU#08-GPU#10-GPU#11 on pool MiningRigRentals.
INFO: Miner Gminer-GPU#02-GPU#04-GPU#05-GPU#08-GPU#10-GPU#11 closed gracefully
INFO: Stopping miner Gminer-GPU#01-GPU#03-GPU#06-GPU#07-GPU#09 on pool MiningRigRentals.
INFO: Miner Gminer-GPU#01-GPU#03-GPU#06-GPU#07-GPU#09 closed gracefully
INFO: OC set for NBminer-GTX1070-Ethash: PL=100%, TL=-, MEM=400, CORE=120, LVP=850000µV
INFO: OC set for NBminer-GTX1660Ti-Ethash: PL=100%, TL=80°C, MEM=600, CORE=0, LVP=650000µV
INFO: Starting miner (NBminer-GPU#01-GPU#02-GPU#03-GPU#04-GPU#05-GPU#06-GPU#07-GPU#08-GPU#09-GPU#10-GPU#11):

After 13 intervals the rentals were picked up again and both rigs continued. The only thing I found in the logs that was unusual is this, which occurred at the start of the rentals continuing.

INFO: Pinging monitoring server.
PS>TerminatingError(Invoke-RestMethod): "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."

TerminatingError(Invoke-RestMethod): "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."
TerminatingError(Invoke-RestMethod): "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."
INFO: Miner Status https://rbminer.net/api/report.php has failed.

RainbowMiner_2019-10-31_17-18-22.txt

@acos0874
Copy link
Author

I just realised that maybe the issue is due to the renters pool. Is it possible that if something changed in the renters settings then it wouldn't be picked up as an error via the API for RBM but it would severe the connection 'Gracefully'?

@acos0874
Copy link
Author

acos0874 commented Oct 31, 2019

Just noticed my rentals were from two different people. It would be a coincidence if they were both using the same pool when it went down.

@RainbowMiner
Copy link
Owner

Thank you for this in depth analysis. Actually, RainbowMiner switches to normal Mining for 15 minutes, if a renters pool is offline for 15 minutes. After that time, it will retry to connect to MRR.
Eventually it is a coincidence of same pool. Cuckrood29 mostly mines to one large pool. Anyway, I will do code analysis tomorrow, just to be sure, that one "wait-with-mining" round really does affect the current rental, only.

@acos0874
Copy link
Author

acos0874 commented Nov 1, 2019

Thank you. During the night just one of my rigs picked up a rental. Please see the attached screenshots.
The previous rental ended at 22:57 and the new one started at 03:59 but you can see there's a lot of stopping and starting during the second period. Maybe it's due to combo mode? I'll try disabling it.
Capture
Capture

@acos0874
Copy link
Author

acos0874 commented Nov 1, 2019

Actually that would make sense because do you think maybe the combo workername conflicts with the workername for the individual devices?

@acos0874
Copy link
Author

acos0874 commented Nov 1, 2019

Just going through the list of active miners. I think the problem might be related to the 'combo over device' option in the config file. It wasn't until recently that I enabled this option again whilst also using MRR. I suspect that it's causing it to override the MRR or something. I've disabled combo mode now and will monitor to see if the problem has gone away.

@acos0874
Copy link
Author

acos0874 commented Nov 4, 2019

OK after a few days of testing with rentals on one device group and both device groups at the same time, the rentals have been fine. I'm 99% certain the problem were either to do with combo mode overriding rental or, more likely, the 'combo over single' setting overriding the rental on either a single or dual rental.

@RainbowMiner
Copy link
Owner

You were totally right. It's the combo over single feature, that interfered with MRR.

@RainbowMiner RainbowMiner added the solved An issue has been solved label Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved An issue has been solved
Projects
None yet
Development

No branches or pull requests

2 participants