Re: ssh processes lingering after scp
From: Darren Tucker (dtucker_at_zip.com.au)
Date: 10/07/04
- Previous message: Ram: "Re: Small SSH"
- In reply to: Susan McConnell: "ssh processes lingering after scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 07 Oct 2004 21:53:04 +1000 To: Susan McConnell <susanm@jbpc.co.uk>
Susan McConnell wrote:
> We're copying a number of files, sometimes up to 3-400, using
> scp called from a perl script. The command issued by the perl script is:
>
> my $cmd = "scp $basedir/data/$basename remote.example.com:/tmp";
> system ($cmd);
> We're finding that some ssh processes, with a PPID of 1, remain after the
> script has completed. "ps -ef" shows:
See: http://bugzilla.mindrot.org/show_bug.cgi?id=897
What platform is this? Normally orphaned processes will be wait()ed by
init when scp exits.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: Ram: "Re: Small SSH"
- In reply to: Susan McConnell: "ssh processes lingering after scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|