I'm trying to use rbspy to record a process on a linux host (kernel 4.14.35). The process is a puma worker running a rails app. Its running in a docker container with the SYS_PTRACE capability enabled.
When I invoke sudo ./rbspy record --format=summary --pid=$pid I get
Press Ctrl+C to stop
Wrote raw data to /root/.cache/rbspy/records/rbspy-2018-11-09-fVDwaLHJV5.raw.gz
Writing formatted output to /root/.cache/rbspy/records/rbspy-2018-11-09-hi93PXdZTo.summary.txt
Error. Causes:
- Couldn't determine Ruby version
- Couldn't create process handle for PID
- Failed to copy memory address 55e1929114bb
- Function not implemented (os error 38)
I'm ssh'd into the host and have root privs on the box. Any pointers on what to try next?
Thanks!
I'm trying to use rbspy to record a process on a linux host (kernel 4.14.35). The process is a puma worker running a rails app. Its running in a docker container with the
SYS_PTRACEcapability enabled.When I invoke
sudo ./rbspy record --format=summary --pid=$pidI getI'm ssh'd into the host and have root privs on the box. Any pointers on what to try next?
Thanks!