bartbutenaers / node-red-contrib-v8-cpu-profiler

A Node-RED node to start CPU profiling on the V8 engine (used by NodeJs)
Apache License 2.0
4 stars 0 forks source link

Error: Error loading shared library ld-linux-x86-64.so.2 with Home Assistant and Node Red as an add-on #3

Open elgeniskogen opened 1 year ago

elgeniskogen commented 1 year ago

Hi bartbutenaers!

Thanks for your node amd for sharing. I am in desperate need of it as I am facing really high CPU usage on Node Red and am not able to identify which flow is causing it.

I am running Home Assistant supervised in a Proxmox VM on a x86 machine. Node red is running I a container (add-on in Home Assistant) managed by the Home Assistant supervisor. When I try to use your node-red-contrib-v8-cpu-profiler, I get the following error in the Node Red log:

30 Oct 22:22:26 - [warn] ------------------------------------------------------ 30 Oct 22:22:26 - [warn] [node-red-contrib-v8-cpu-profiler/v8-cpu-profiler] Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /config/node-red/node_modules/v8-profiler-next/build/binding/Release/node-v93-linux-x64/profiler.node) 30 Oct 22:22:26 - [warn] ------------------------------------------------------

Hope you can help!

br Erik :-)

bartbutenaers commented 1 year ago

Hi @elgeniskogen,

Did you see this similar issue and how he has solved it? Hopefully that can be of any help to you too.

Bart