You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when trying to configure alloy to profile java processes. I have checked and glibc is installed on the bottlerocket host as well as in the java container. The java binary is also linked to glibc.
2024-09-09T21:51:22.173548542Z stderr F ts=2024-09-09T21:51:22.17339853Z level=error component_path=/ component_id=pyroscope.java.java pid=1651708 err="failed to select dist for pid 1651708: failed to select dist for pid 1651708: neither musl nor glibc found"
Steps to reproduce
Have a bottlerocket node with a java process for profiling.
2024-09-09T21:51:22.173548542Z stderr F ts=2024-09-09T21:51:22.17339853Z level=error component_path=/ component_id=pyroscope.java.java pid=1651708 err="failed to select dist for pid 1651708: failed to select dist for pid 1651708: neither musl nor glibc found"
The text was updated successfully, but these errors were encountered:
Hello! It seems like the Alloy component goes through the /proc/[pid]/maps file and the /proc/[pid]/root/lib directory. Do you see any mention of glibc or musl in those locations? Maybe we could add extra locations in the code.
@korniltsev I wonder if the code could use more substantial refactoring. I'm not sure how reliable it is to go through hardcoded locations.
What's wrong?
I'm getting the following error when trying to configure alloy to profile java processes. I have checked and glibc is installed on the bottlerocket host as well as in the java container. The java binary is also linked to glibc.
Steps to reproduce
System information
Bottlerocket Linux ip-10-30-49-246.ec2.internal 6.1.97 #1 SMP PREEMPT_DYNAMIC Fri Jul 26 23:04:30 UTC 2024 x86_64 GNU/Linux
Software version
1.3.1
Configuration
Logs
2024-09-09T21:51:22.173548542Z stderr F ts=2024-09-09T21:51:22.17339853Z level=error component_path=/ component_id=pyroscope.java.java pid=1651708 err="failed to select dist for pid 1651708: failed to select dist for pid 1651708: neither musl nor glibc found"
The text was updated successfully, but these errors were encountered: