-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load deltas trying to profile ClickHouse binary #230
Comments
The clickhouse binary is too large (max stack deltas hard-coded to 2^21 = 2097152).
This needs some code changes as well. |
Hi @danipozo Can you provide more information on how you visualize the stacks? If you are using But also, @rockdaboot points out another issue with the size of the executable in #230 (comment). |
Hi @florianl
I'm using Parca for visualization. I have first used their
I have tried to do this but haven't been able to get the drag-and-drop behavior working locally.
Shouldn't the agent get them from the debug info of the executable?
@rockdaboot is this a limitation that can be overcome? How hard/easy could it be? |
For native languages, like C, C++, Rust and Go, debug info is not necessary to unwind the stack. For these native languages it is the task for the visualization to provide symbol information. I can not speak for Parca - so maybe someone else can help here further?
I dropped the clickhouse executable, that you have provided in #230 (comment), via drag & drop into But the point, @rockdaboot mentioned in #230 (comment), remains. So without further changes, it might not work out of the box. |
With #230 an issue is reported, where the number of stack delta buckets is not sufficient. Increase stack delta bucket to be able to unwind also such executables. Signed-off-by: Florian Lehner <[email protected]>
With #231 applied and drag&drop the clickhouse executable into |
With #230 an issue is reported, where the number of stack delta buckets is not sufficient. Increase stack delta bucket to be able to unwind also such executables. Signed-off-by: Florian Lehner <[email protected]>
With #230 an issue is reported, where the number of stack delta buckets is not sufficient. Increase stack delta bucket to be able to unwind also such executables. Signed-off-by: Florian Lehner <[email protected]>
Hey, thanks, that was fast! |
When using the agent to profile on a system running ClickHouse, the agent is incapable of providing user-level stacks for the ClickHouse process.
Error logs
How to reproduce
Run the server:
Then run the agent.
The text was updated successfully, but these errors were encountered: