3 ms·
I had a memory leak problem running a node service inside a docker container. I tried to use gcore, but got the precise problem in the article. ptrace: Operati
by jsnk 6y ago
I had a memory leak problem running a node service inside a docker container. I tried to use gcore, but got the precise problem in the article.
ptrace: Operation not permitted.
You can't do that without a process to debug.
The program is not being run.
gcore: failed to create core.36
I found this SO answer and it worked out for me.
https://stackoverflow.com/questions/42029834/gdb-in-docker-container-returns-ptrace-operation-not-permitted https://stackoverflow.com/questions/42029834/gdb-in-docker-c...