-
Notifications
You must be signed in to change notification settings - Fork 13
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
use local files instead of arguments #1
Comments
Sorry, I got busy with another got busy with another project. Also, accessing panel checks whether internet is working. If internet is down, no need for repeated reboot in every 8 min. Obviously there are other ways to check for internet, i thought checking for panel info is not bad approach. |
in case the panel have falsy stats, no-updates (which happens sometimes for a few rigs if they go zombie-load !) or any other reasons we cant get the data we then actually dont get any current data. i have sometimes a rig that goes high load but hashes like a champ. it simply is in high-load so i can't ssh into it and he can't update (but he hashes!). if a card fails, we will never see it via panel but via claymore-ethminer.exe or if we check locally. i think it's the better approach. the data is locally, why gather it remotely? checking do we have internet is a nice thing tho |
It happened to me once while mining xmr. Instead of gpu mining, it probably started cpu mining. I think if the panel is not getting refreshed even once in 8 min, there is some problem which should be looked at. |
I've pushed another change to handle above situation. |
seems like something is wrong here |
Please change the rig name and panel address to xxx if required and show me the output of "/home/ethos/gpu_crash.log". |
i did send you an email |
trying a workaround |
i wonder how this can actually happen since the url should be always in the files. maybe the best is to dump the json and switch to local reads, then we avoid this source of error. how many rigs do you have to try out? |
I've made rig name and panel url as optional arguments so that you can use them on those rigs where you are running into error. |
today from ethosdistro channel so, i will fork and make everything locally :P |
I'm also facing some issue. |
we can use these and everything should work? |
idea: https://pastebin.com/s4VewKJB |
Thanks. I'll have a look later. |
https://github.com/krtschmr/ethos_monitor/blob/master/check_crash.py this works perfect now, including autoupdate before he reboots, in case we changed anything. i'll run this version for my farm now (but somehow my farm is stable since then. weired ;) ) |
Sorry, I'll be too busy in next 2 days to review this change. |
@krtschmr is it work on ethos 1.2.9 ? |
@LazyScream absolutely. However 1.2.9 wasn't stable for my farm so i kept them at 1.2.7. |
almost :-)
|
@krtschmr |
ya, google knows
|
Copy the code to any place on it |
i really can't help with that, i'm not a specialist in python. obviously you need to bundle the http package first. |
i made a reboot function with telegram warning
and now i'm using @krtschmr version |
i think i found a bug on @krtschmr version...
|
i don't know yet, had no time to look into, still trying to get new 600 gpu farm stable.... i can fix it later |
600 gpu? 😮 |
ok i fixed the check for disconnect (the var waitForReconnect was useless since was always 1) https://github.com/Trigun87/ethos_monitor i just forked ^_^ i use a new file for telegram warning (default disabled) and number of gpus on the rig (if start with less gpu it will reboot) |
@Trigun87 wanna merge into my one? |
@krtschmr if u like my version ^_^ (btw is something u should do or something i should do ? never merged anything :-P) |
@jmverges how to work in this ethOS FRiends group? i cant create repositories or do anything... @Trigun87 check gist: so, my problem is that nicehash terminates the connections sometimes, and/or i dont have work. if i reboot, then they are hashing. sometimes 3/4 farm is dead over night. the issue is the reboot script. ethos 1.2.7 ( all <1.2.9) have issues then with claymore, still reporting SOME hashrate, even tho it's zero. i can't upgrade to 1.3.0 since powerplay messes up and we would use 8% more electricity this should fix it. maybe usefull for anybody? |
panel can be totally ignored since we have the data in all local files available (those are the data that gets reported anyways).
we can simply run the script, no need for any configurations. makes it way easier.
The text was updated successfully, but these errors were encountered: