I can't run profiler on fargate environment #2799
Unanswered
yehtetluwu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the profiler in the fargate environment. I'm getting 'AsyncProfiler error: Could not set pthread hook' when I run profiler start. I saw this documentation on AWS that CAP_SYS_ADMIN is restricted and I dont think i can also modify the seccomp profile as well. So, I tried the fdtransfer method by running this command as root
java -agentpath:/async-profiler-3.0-linux-x64/lib/libasyncProfiler.so=start,event=cpu,file=profile.html,fdtransfer,alluser -jar arthas-boot.jar
following this and it's asking me for a path. I'm not sure what I'm supposed to be passing to the fdtransfer option. I have an app already running in this container and I can run any information I'm now just wondering if it's not doable because of fargate or if I'm missing something. The latter is more possible because I'm new to arthas.Java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Fargate OS
Amazon Linux 2, x86_64
Beta Was this translation helpful? Give feedback.
All reactions