MaynardMiner / SWARM

Profit Switching Mining Administrator For HiveOS/Linux & Windows: HiveOS Integrated
MIT License
92 stars 40 forks source link

bans remove command does not allways provide feedback ... #415

Closed UserDC-LeGrand closed 1 year ago

UserDC-LeGrand commented 1 year ago

Refer to last three bans remove commands in the image. Specific algo:miner command failed, but global algo bans worked ...

image

MaynardMiner commented 1 year ago

So this is kind of tricky situation.

The bans command was meant to be a command to add/remove bans as you would the -bans argument. I added it so I didn't have to edit my flight sheet every time I wanted to ban something on a particular rig temporarily.

The bans happening here- Are not actually defined "Bans", but what in the code I refer to as "timeouts". They are rules generated by SWARM and not the user, and they are more specific than what the user can ban: Users are limited to algo:miner or algo:pool, etc...But these are technically algo:miner:pool. There is also an argument related to timeouts and how often you want them cleared.

Currently the only way to remove them, is bench bans which clears the SWARM generated rules (It just deletes the saved timeout files)

You are kind of working in reverse- You should be adding the bans you want permanent to your -bans argument, and then bench bans the rest.

MaynardMiner commented 1 year ago

I'll look at the code, and see if I can do better, including it ALWAYS having it return some kind of output.

UserDC-LeGrand commented 1 year ago

As Im working though the root cause for SWARM initiated bans, mostly due to miner crashes, agressive tuning in miner config files, wrong OC's, etc - I use the specific bans command and bench to force a new benchmark for the algo:miner combo, and I screen -r NVIDIA1 or AMD1 to see in real-time what is causing the issue. Eventually, the individual miner logfiles you will be anbling soon will help troubleshotting past events ....

MaynardMiner commented 1 year ago

Will be fixed in #418