Skip to content

High load on node library when CPU profiling  #4450

Closed as not planned
Closed as not planned
@nLassimonneAdveez

Description

@nLassimonneAdveez

Node.js Version

v18.9.0

NPM Version

v10.7.0

Operating System

Ubuntu 20.04 Linux 5.4.0-92-generic

Subsystem

inspector

Description

Hello,

I have an app that is basically subscribing to MQTT channels and sending HTTP request.
I have a high RAM and CPU load on my app and I am trying to find out the culprit.

I ran a node --prof to run a CPU profiling and here is the result.
My report indicates node library using 61.4% :

   ticks  total  nonlib   name
  100357   61.4%          /usr/local/nvm/versions/node/v18.9.0/bin/node

What does that mean ?

I found the following issue that looks like my problem, but no solution has been found:
#4422

Thanks.

Minimal Reproduction

No response

Output

processed.txt

Before You Submit

  • I have looked for issues that already exist before submitting this
  • My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions