Giter VIP home page Giter VIP logo

Comments (13)

fireice-uk avatar fireice-uk commented on May 18, 2024

What's the usecase for that? Most miners run the applications in screen or tmux.

from xmr-stak-cpu.

gianmarcotoso avatar gianmarcotoso commented on May 18, 2024

I run it as a service with systemd and it would be nice to see what's going on, with maybe a continuous report of the hashrate etc... :)

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on May 18, 2024

I'm considering writing an extra verbose level that will dump the hashrate every minute. Personally I hate that, I guess that's what people are used to :).

I also run my miners as an auto-started sytemd service - except it starts a screen instance, which starts a shell script that makes sure that DHCP and Internet are a-ok, and then runs the miner.
If i want to check on the miner, i just ssh to the box and reattach.

from xmr-stak-cpu.

gianmarcotoso avatar gianmarcotoso commented on May 18, 2024

from xmr-stak-cpu.

dimecoin avatar dimecoin commented on May 18, 2024

I run under screen too, it works well.

More generally, I would think that by now we would have had a "standard" monitoring protocol that could be easily integrated into any type of miner. Each miner has their own method of logging and monitor and fail-over/retry (which is a bit annoying).

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on May 18, 2024

Unless you start from a fresh codebase, there is significant inertia. Just look at how many BTC miners still do long polling on HTTP.

from xmr-stak-cpu.

duel007 avatar duel007 commented on May 18, 2024

Logging would be good, different modes of verbosity preferable. I'm having an issue where shares are rejected when the miner has been running for longer periods, would be nice to have more to go on.

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on May 18, 2024

(This is not a trick question of some sort, I'm looking at the design usecase here)

When doing the design for logging monitors I reckoned that it will be best to log connection drops as a list (since in that case you want to know when and how long), and pool errors as a tally (since here the first question is - how many?).

What would you look for in the logs?

from xmr-stak-cpu.

duel007 avatar duel007 commented on May 18, 2024

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on May 18, 2024

It does. Usual one would be something like "low difficulty share" meaning that there was some computing error and the hash result was wrong.

from xmr-stak-cpu.

suahnkim avatar suahnkim commented on May 18, 2024

this doesn't directly fall in to design usecase, but for remote debugging: -> when the miner is started by crontab, it seems to hog an extra cpu... I tried different number of threads, different schedulers (crontab, rc.local, systemd), different physical systems, and I can't figure out :( :( :( can't even figure out if the hashrate via cron is as the same as when ran via terminal. Any insight or help would be appreciated

from xmr-stak-cpu.

dimecoin avatar dimecoin commented on May 18, 2024

@suahnkim you can use screen to log, have you tried that?

Add this to your ~/.screenrc:

deflog on

from xmr-stak-cpu.

suahnkim avatar suahnkim commented on May 18, 2024

@dimecoin Thank you. Tried your suggestion => hashrate is 10 ~ 15 less for the cron job.

update: when I specify one less thread in the config.txt, the hashrate drops, but cron job still takes 1 more core than specified. :( :( :(

from xmr-stak-cpu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.