sftp needs a long time for sending a filelist

Markus Wünsch Markus.Wuensch at idv-ag.de
Mon Jul 21 20:42:31 EST 2008


   Hello all
   Im using sftp 1:4.7p1-8ubuntu1.2
   in a batchjob
   Ive noticed that sftp needs a long time for sending a filelist.
   The timespan increases exponential if many files are on the
   remoteserver.
   for example "ls -la *.txt" needs 10 seconds for 2000 files
   but needs 50 seconds for 4000 files.
   For 150.000 Files i have to wait 15 minutes for example
   but the Conecction is very fast. I think the sftp-server needs this
   time to
   build the list.
   What can i do to get the list in normal time. ?
   Whats could be the reason for this long delay ?
   Thanks to All
   --
   Markus Wuensch

   ________________________________________________________________

   IDV AG Individuelle Datenverarbeitungssysteme

   Vorstand : Robert Strassmeir
   Vors. des Aufsichtsrates : Dr. Brigitte Holler

   Sitz der Gesellschaft : München
   Amtsgericht München HRB 122 701


More information about the openssh-unix-dev mailing list