Giter VIP home page Giter VIP logo

Comments (5)

alavit-d avatar alavit-d commented on June 16, 2024

Hi,

070d80f: Changed the CPU retrieval, added a new configuration value called small_interval.
Coudl you try v2.2.0 of the module with default configuration? If you still experience issues try with the small_interval value set to 10.

from pm2-server-monit.

eran10 avatar eran10 commented on June 16, 2024

just had the same issue with small_interval value set to 10 do i had to delete it

from pm2-server-monit.

karlbecker avatar karlbecker commented on June 16, 2024

Hello @alavit-d and anyone listening ,
I'm also getting this problem, and increasing to 10 or higher is not reducing the CPU usage. Any ideas?

from pm2-server-monit.

karlbecker avatar karlbecker commented on June 16, 2024

Found a stack trace that I referenced in the other Issue, too:

TypeError: Invalid data, chunk must be a string or buffer, not number
    at TLSSocket.Socket.write (net.js:714:11)
    at ClientRequest._flushOutput (_http_outgoing.js:842:18)
    at ClientRequest._flush (_http_outgoing.js:819:16)
    at ClientRequest._deferToConnect (_http_client.js:277:47)
    at callSocketMethod (_http_client.js:690:7)
    at ClientRequest.onSocket (_http_client.js:695:7)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:121:20)
    at ClientRequest.emit (events.js:211:7)
    at tickOnSocket (_http_client.js:657:7)

Thanks for any help you can provide!

from pm2-server-monit.

karlbecker avatar karlbecker commented on June 16, 2024

Heads up that we are still experiencing this issue, as described here: keymetrics/pm2-plus-tech-questions#193 (comment)

from pm2-server-monit.

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.