Giter Club home page Giter Club logo

Comments (4)

narqo avatar narqo commented on May 28, 2024 1

Thank you, @asubiotto, for the detailed explanation. This should give us enough details for our testing. I will close the issue as I realized it probably belong to discussions.

Are you running the Parca Agent at all?

For the moment, we can't run parca-agent, since it requires having privileged access to the node (refer to the "details" section of the issue). In our context, to deploy a pod that is allowed privilege escalation, will require some extra "paper-work", thus we're delaying this part of testing for now.

from parca.

asubiotto avatar asubiotto commented on May 28, 2024

Hi @narqo,

The memory usage is linear with the number of targets. The memory usage you observe is expected, as it reflects the "active memory" size of the database, which grows up until a preconfigured limit before rotating the data and starting over (what you see at 16:30 in your graph). The spikes are compactions of this data since we need to decompress data at compaction time.

You can use --storage-active-memory=<number of bytes> to tune the maximum memory here, which will trade off how long you can view data for (if you don't have object storage enabled) which in your case is currently 3 hours for lower memory usage. The default active memory size is 512MiB, but there is likely memory we're not accounting for given that it looks like the block grew to 2.5GiB (memory that was rotated out). If you want to be thorough, feel free to grab some memory profiles (parca can be set up to scrape itself) during the block growth.

Parca can't be scaled out horizontally and there are currently no plans to add support for this. If you're looking for a more comprehensive continuous profiling setup (with horizontal scaling etc...) we do offer Polar Signals Cloud.

from parca.

brancz avatar brancz commented on May 28, 2024

Are you running the Parca Agent at all?

from parca.

brancz avatar brancz commented on May 28, 2024

My bad, sorry for missing that piece.

FYI another piece that uses memory is the metastore (where function names, etc. are stored), you can offload this to disk though by enabling persistence.

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.