PDA

View Full Version : SFTP at about 500K


surge
22nd June 2004, 10:39 AM
Regular FTP transfers fly (transfering megs of files in a matter of seconds) but SFTP transfers are stuck at around 500K.

Am I missing something in the configuration?

I'm running FC2 with all the updates installed.

I've tried with SecureFX on a Windows box as well as SFTP from another Linux box but the results are similar.

thanks

Jman
22nd June 2004, 10:53 AM
There is processing overhead to get the connection encrypted through ssh. In the middle of a transfer, run top or some process monitor on the server. See how much CPU sshd is using.

ghenry
22nd June 2004, 11:53 AM

Yes this is about the right speed. I have tested it before, it's the encryption.

jroysdon
5th August 2004, 01:33 AM
This wasn't a problem with my stock FC2 install. After I ran 'yum update' it was still working good, until I rebooted. My guess is there is a problem in the new kernel (2.6.7-1.494.2.2). :mad: :mad:

Editing /etc/grub.conf to boot to the old (2.6.5-1.358) kernel solves this problem. :)

300KB/s no problem now, transferring the FC2 ISOs without a hiccup. Previously, even if I limited it to 100KB/s, it would stall out about 200-400KB into the transfer and basically hang. :eek:

Note that the problem is only uploading (transferring to) the FC2 host. I can download (transfer from) the FC2 host without any problem with the newer kernel.