BUG: ssh hangs on full stdout-file-system

Olaf Rogalsky Olaf.Rogalsky at physik.uni-erlangen.de
Wed Sep 25 02:01:41 EST 2002


System: Linux 2.4.18, openssh-3.4p1

Problem: 
  I use "ssh" and "tar" to backup remote directory trees to a local
  hard-disk/file-system:
  # ssh remote.server.org "tar -cz /home" >/backup/remote.tar.gz

  If the backup-file-system runs out of space before the backup
  completes, ssh starts hanging (waiting for the stdout-write to 
  complete).

Analysis:
  In this example it is of course very unlikely, that some space on the
  backup-file-system will be freed so that the backup can finish. 
  Instead I would expect ssh to abort with an error, perhaps after some
  grace time.
  On the other hand there *may* be other situations, where one expects ssh
  to hang as it does. But since I am not aware of such an other situation,
  I consider this as a bug.

Comments: ?

Olaf Rogalsky

-- 
+----------------------------------------------------------------------+
I Dipl. Phys. Olaf Rogalsky                 Institut f. Theo. Physik I I
I Tel.: 09131 8528440                       Univ. Erlangen-Nuernberg   I
I Fax.: 09131 8528444                       Staudtstrasse 7 B3         I
I rogalsky at theorie1.physik.uni-erlangen.de  D-91058 Erlangen           I
+----------------------------------------------------------------------+



More information about the openssh-unix-dev mailing list