-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't it work if the parent has child processes? #84
Comments
It may work better with `-T`, which uses a different strategy to attach.
But the default mode of operation cannot attach processes with children.
…On Tue, Jun 20, 2017, 08:41 Manjunatha S M ***@***.***> wrote:
~/reptyr-master$ ./reptyr 946227
[-] Process 946489 (gmake) shares 946227's process group. Unable to attach.
(This most commonly means that 946227 has sub-processes).
Unable to attach to pid 946227: Invalid argument
Regards,
Manju
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#84>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABBVZhYASfxqkfJVpkCz9c5yirZknk9ks5sF-gogaJpZM4N_xxT>
.
|
For me, scala programs run using sbt fail to re-attach despite trying -T on parent sbt process. |
now neovim and vim8 support job, so they have
|
same with rsync :-( |
I get this when trying the -T |
I have the same problem when I start a command with |
did you try the -T command? see #24 it worked for me on raspbian lite where I had started a process over ssh and then ran sudo reptyr PID -T note that there seemed to be no response in the terminal on the target machine for a few minutes, until it finally began printing the stdout. just writing this to encourage patience :) Many thanks @nelhage for reptyr and providing the -T -- now I can leave for and not worry about restarting an already 10-hour make process on an rpi zero... |
I'm trying to recover a process still running in a docker container and started through "docker exec" (the global window has been lost, but the execution is still running in the background, and i would have been willing to recover the output as it's a very long processing). By default (without any paramters),
(i have the value Maybe it's just related to how docker works ? (that is, |
@SR-G It might be due to not starting the container with |
@SR-G Not sure if this still is a topic for you, probably not, but the value in the referenced file (ptrace_scope) should be 0 AFAIK. |
Any update on this error?
|
Maybe add a hint that You might want to suggest to use |
Hi @michaelpalumbo! I've tried the command and it does not work, do you have any idea? Thanks!
the process (1290042) is created by:
|
I think this issue is the one currently preventing me from using this with the GCC testsuite on the GCC compile farm; the |
~/reptyr-master$ ./reptyr 946227
[-] Process 946489 (gmake) shares 946227's process group. Unable to attach.
(This most commonly means that 946227 has sub-processes).
Unable to attach to pid 946227: Invalid argument
Regards,
Manju
The text was updated successfully, but these errors were encountered: