Skip to content
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

CPU profiling does not work anymore #165

Open
lenaschoenburg opened this issue Jun 10, 2024 · 2 comments
Open

CPU profiling does not work anymore #165

lenaschoenburg opened this issue Jun 10, 2024 · 2 comments

Comments

@lenaschoenburg
Copy link
Contributor

Starting a benchmark with zeebe.profiling.enabled results in lock contention and memory profiles but no CPU time profiles in Pyroscope.

Possibly a permission issue caused by changes to our docker image?

@deepthidevaki deepthidevaki self-assigned this Jul 26, 2024
@deepthidevaki
Copy link
Member

We can see the following errors

INFO 2024-07-26T09:19:48.038225738Z [WARN] Kernel symbols are unavailable due to restrictions. Try
INFO 2024-07-26T09:19:48.038265007Z sysctl kernel.perf_event_paranoid=1
INFO 2024-07-26T09:19:48.038271053Z sysctl kernel.kptr_restrict=0

The containers are already running as privileged and in addition I added SYS_ADMIN capability. According to docs this should be enough. Not sure what other permissions are missing.

Possibly a permission issue caused by changes to our docker image?

@lenaschoenburg Can you point me to these changes?

@lenaschoenburg
Copy link
Contributor Author

I meant the change to run rootless: camunda/camunda#13418

@npepinpe npepinpe assigned npepinpe and unassigned deepthidevaki Aug 5, 2024
@npepinpe npepinpe removed their assignment Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants