bugzilla-daemon at mindrot.org
2003-Jul-08 22:00 UTC
[Bug 334] SSH hangs when run via a cronjob (ssh2)
http://bugzilla.mindrot.org/show_bug.cgi?id=334 egarff at omniture.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From egarff at omniture.com 2003-07-09 08:00 ------- I apologize I didn't not see the request for more testing. We have tried this very recently with 3.6.1p2 and see the same issue. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Jul-09 00:15 UTC
[Bug 334] SSH hangs when run via a cronjob (ssh2)
http://bugzilla.mindrot.org/show_bug.cgi?id=334 ------- Additional Comments From dtucker at zip.com.au 2003-07-09 10:15 ------- Does the same thing happen if you run from the command line with nohup? You can also use strace/truss or equivalent to see what it's trying to do when it hangs. Make sure the cron job will take a while (add some sleeps if you have to) then wait until the cron job starts, find out ssh's pid and use "strace -p [pid]" to attach to the process. Once you have the results, add the last 100 lines or so as an attachment to this bug. Also, the commands at the other end of the pipe might behave differently when they don't have a pty. Try adding "-t" to ssh's command line to force the server to allocate one. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Seemingly Similar Threads
- [Bug 334] New: SSH hangs when run via a cronjob (ssh2)
- [Bug 273] sshd hangs on shell exit if user spawned child with/bin/nohup
- [Bug 334] SSH hangs when run via a cronjob (ssh2)
- Unrelated (was RE: so-called-hang-on-exit)
- [Bug 334] SSH hangs when run via a cronjob (ssh2)