GithubHelp home page GithubHelp logo

Error messages: sleep about sense-collector HOT 3 CLOSED

jeff47 avatar jeff47 commented on August 20, 2024
Error messages: sleep

from sense-collector.

Comments (3)

jeff47 avatar jeff47 commented on August 20, 2024

Enabling all the debug options reveals what I think is the problem:

sense-collector  | host-performance: Sleeping: -1.4476 seconds
sense-collector  | sleep: invalid option -- '1'

I was able to correct this by adding this environmental variable:
SENSE_COLLECTOR_PERF_INTERVAL: 60

I think this line in start-host-performance.sh needs a sanity check, as well as a default value for $perf_interval.

delay=$(echo "scale=4;(${perf_interval}-($after-$before) / 1000000000)" | bc)

from sense-collector.

paradizelost avatar paradizelost commented on August 20, 2024

Can also confirm that setting SENSE_COLLECTOR_PERF_INTERVAL does eliminate the error

from sense-collector.

lux4rd0 avatar lux4rd0 commented on August 20, 2024

The new version doesn't need the sleep features anymore to handle interactions. Try it out! Thanks!

from sense-collector.

Related Issues (17)

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.