scp hogs up CPU and cannot be killed

From: Dodier, Robert (
Date: 11/10/03

  • Next message: Chuck Meade: "In 3.7.1p2, does PAM only support the keyboard interactive method?"
    Date: Mon, 10 Nov 2003 10:17:30 -0700
    To: <>


    I wonder if anyone has seen this problem. I have searched the
    web but although I find a few mentions of it, I haven't found
    a solution.

    Scp'ing a large file (multi GB) to a Linux RH 8.0 box (8 cpus,
    lots of memory, lots of disk space) causes the Linux box to get
    into a tizzy: top shows scp using lots of cpu, cpu states
    are 50%--75% system, scp cannot be killed by kill -9, and
    although the box is alive, it is just crawling along.
    Other jobs run very, very slowly. BTW top says scp is
    runnable (status R) so it should be killable, but it's not.

    The ssh version is at present a custom recompile (sorry, not
    my decision) of the OpenBSD version of ssh, but we had this
    problem also with the RH 8.0 version of ssh as well,
    which was presumably built sometime in 2002.

    Is this a known problem in scp or ssh? Does someone -know for sure-
    that it can be fixed by installing a recent release? Unfortunately
    I'm not in a position to install stuff willy-nilly; I need to
    have some solid information to go on in order to get someone
    to act on it. Also if you have any idea about how to kill a
    process that doesn't want to die, I'd be interested in that too.

    Thanks very much for your help! Have a great day,

    Robert Dodier

  • Next message: Chuck Meade: "In 3.7.1p2, does PAM only support the keyboard interactive method?"

    Relevant Pages

    • Re: Is SSH worth it??
      ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
    • RE: SCP and MVS data sets?
      ... SCP and MVS data sets? ... Is it possible that the open function is different in SCP? ... You can also do the following weirdness to use ssh to copy a z/OS legacy ...
    • Re: why does scp not use all my cores on a multi-cpu machine?
      ... When I ran my little test earlier, I observed that while I typed scp, both ... scp and ssh got "energized" and in fact ssh used more time than scp. ... Now since encrypting and transmitting has some elements of paralellity ... Right -- ssh, et. al. is an I/O bound process, so long as the network ...
    • Re: linux to linux scp in batch mode: how?
      ... reason why it works now is because of the dsa key. ... > been configured automatically when I set up ssh, I would imagine that I am ... >> I have ssh and scp up and running on my two Redhat 7.2 Linux machines, ... >> between the machines. ...
    • Re: Using SSH or SCP in REXX under TSO
      ... Using SSH or SCP in REXX under TSO ... Does z/OS sftp have a BINARY subcommand? ...