[Orca-users] Scp processes not dying (Orca installation)

Blair Zajac blair at orcaware.com
Fri Jan 13 07:59:09 PST 2006


Ayotunde Itayemi wrote:
> Good day All,
> 
> Orca is a great tool!
> I have one little problem (which may become critical soon!) though.
> 
> The SCP sessions for copying the files from the clients to the server
> Are not dying after they are through.
> I have 113 of the scp processes still running on a system on which I
> started Orca about 13 hours ago.
> 40 scp processes on another system which has been running for about 5
> hours!
> 
> My Platform is:
> Solaris 9 SPARC
> Perl 5.8.7 (sunfreeware)
> Gcc 3.4.2 (compiling the perl modules in Orca) SE toolkit 3.3
> (RICHPse-3.3.tar.gz) orca-0.27b3.tar.gz
> 
> 
> My crontab entry is on the clients:
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/scp -r
> /usr/local/var/orca/orcallator/
> vnl-evddb01:/usr/local/var/orca/orcallator/

If you're copying the whole directory over, I would recommend using rsync 
instead of scp as it'll reduce bandwidth and server load over the long term and 
the clients generate more data.

You can use rsync's '-e ssh' option to have rsync use ssh instead of rsh and use 
the passwordless login you've set up.

> Sample ps -ef | grep scp from one of the clients is:
> root at tstdev2 # ps -ef | grep scp | more
>     root 11917     1  0 23:55:01 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> o vnl-evddb01 scp -r -t /usr/local/var/orca/or
>     root 13934     1  0 01:05:01 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> o vnl-evddb01 scp -r -t /usr/local/var/orca/or
>     root 13448     1  0 00:35:00 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> o vnl-evddb01 scp -r -t /usr/local/var/orca/or
>     root 13370     1  0 00:30:01 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> o vnl-evddb01 scp -r -t /usr/local/var/orca/or
>     root 12819     1  0 00:05:01 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> o vnl-evddb01 scp -r -t /usr/local/var/orca/or
>     root 11649     1  0 23:40:01 ?        0:00 /usr/bin/ssh -x
> -oFallBackToRsh n
> ---cut -------------
> 
> root at tstdev2 # ssh -V
> SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0.
> 
> For the password-less install, I generated the key files on the client
> using ssh-keygen 
> and copied the content of the id_rsa.pub file over to the
> authorized_keys File on the server.
> 
> My install steps are at http://itayemi.tripod.com/orcainstall.txt

I would try to pass -v to the scp command and run scp from the command line and 
see where it hangs.

It's not clear why it's hanging, just need to do more debugging work.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair at orcaware.com>
Subversion training and consulting
http://www.orcaware.com/svn/



More information about the Orca-users mailing list