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 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)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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