Giter Club home page Giter Club logo

Comments (15)

PabloPie avatar PabloPie commented on June 8, 2024 1

Providing more details on my previous comment:

Application versions

Nodejs: 20.11.1
Parca agent: v0.28
Parca server: v0.21

We are running nodejs in a container based on node-20:alpine, and using dumb-init. I followed the troubleshooting docs and the process is correctly creating the perfmap.

After enabling --perf-basic-prof-only-functions and --interpreted-frames-native-stack I have JIT symbols but no Node runtime symbols
image

from parca.

javierhonduco avatar javierhonduco commented on June 8, 2024

Could this be related to #2810?

from parca.

orgads avatar orgads commented on June 8, 2024

Maybe. Any progress with it?

from parca.

orgads avatar orgads commented on June 8, 2024

With version 0.19.0 I don't get these errors, but still there are no symbols.

from parca.

orgads avatar orgads commented on June 8, 2024

Anything I can provide to help debugging this?

from parca.

kakkoyun avatar kakkoyun commented on June 8, 2024

@orgads Sorry for not getting back to you sooner. Could you check this document for troubleshooting: https://www.polarsignals.com/docs/nodejs#troubleshooting

We recently discovered some issues regarding some nodejs bugs.

Let us know if it doesn't help.

from parca.

orgads avatar orgads commented on June 8, 2024

I'm really not sure what I did different, but it works now. Thanks!

from parca.

brancz avatar brancz commented on June 8, 2024

For what it's worth we've done many improvements in this area recently, so maybe it was just fixed with that.

from parca.

orgads avatar orgads commented on June 8, 2024

I use the same versions 😅

from parca.

brancz avatar brancz commented on June 8, 2024

Ah ok, that's odd then. But glad it works now!

from parca.

orgads avatar orgads commented on June 8, 2024

Ok, I found out what my problem was. My application is running in Docker, so it writes the perfmap file in /tmp inside the container. I need to map it to the host for perf/parca to work correctly.

from parca.

javierhonduco avatar javierhonduco commented on June 8, 2024

This should not be a problem, we should be reading the tmp of any process in a different mount namespace... @kakkoyun for your attention

from parca.

orgads avatar orgads commented on June 8, 2024

Actually I did my current tests with plain perf, so maybe parca did work without it.

Is there a flag for perf that enables reading it from the container?

from parca.

PabloPie avatar PabloPie commented on June 8, 2024

I'm currently having the same issue with Parca running in K8s, no error logs though. NodeJS is generating the perfmap file in the /tmp directory of the container, Parca agent is running in the host, the whole thing deployed with the Parca Helm chart. Parca only shows addresses and no symbols though.

from parca.

kakkoyun avatar kakkoyun commented on June 8, 2024

We need to double-check the symbolization https://discord.com/channels/877547706334199818/877547706334199821/1217440802322776094

I'm re-opening the issue to keep track of things.

from parca.

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.