zeebe-io / benchmark-helm

Contains a helm chart to execute zeebe benchmarks
https://zeebe-io.github.io/benchmark-helm/
Apache License 2.0
3 stars 0 forks source link

CPU profiling does not work anymore #165

Open lenaschoenburg opened 5 months ago

lenaschoenburg commented 5 months ago

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 commented 3 months ago

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 commented 3 months ago

I meant the change to run rootless: https://github.com/camunda/camunda/pull/13418