|
|
#1 |
|
Triple-A Player
Join Date: Jan 2002
Posts: 131
|
Sluggish FTP and SSH
FTP and SSH take a while to respond when connecting. FTP takes a long time before responding at all, while ssh takes a long time to process user passwords. What would make this so slow? Any suggestions on speeding them up?
Thanks |
|
|
|
|
|
#2 | |||||||||||||||||||||||
|
Prospect
Join Date: Jul 2004
Posts: 4
|
I had the same problem here with a 733mhz single cpu G4 with 1 gb RAM. I upgraded the processor and added some RAM and it improved a huge amount. We use ours for ftp, webserver and mailserver so it was busy. I'd be interested in what you find is the problem in the end.
__________________
The Digital Lab Venice California |
|||||||||||||||||||||||
|
|
|
|
|
#3 | |||||||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Outbound or inbound? Mac specs? OS version? |
|||||||||||||||||||||||
|
|
|
|
|
#4 | |||||||||||||||||||||||
|
Prospect
Join Date: Mar 2005
Posts: 7
|
i have the same problem with a 1.8ghz imac, 768 mb ram, brand new machine. i use a router/firewall, software firewall and NIDS, but have disabled all of it and it hasn't helped. all inbound to the computer ssh and ftp is running on. ftp is ridiculously slow, half the time the connection dies, and ssh gives me a login prompt quickly, but takes a very long time (a couple of minutes at least) to prompt for the password. i hope someone can help figure this problem out because it makes remote access to my machine unbearable. =/ -- the only difference is that i'm actually using Mac OS X, not Server. Last edited by ceph; 03-01-2005 at 01:13 PM. |
|||||||||||||||||||||||
|
|
|
|
|
#5 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
|
Look for a post on these forums not so long ago about slow ssh connections. If I recall correctly, the solution there was to disable IPV6 since the slowness was caused by failing IPV6 reverse name lookups or something.
|
|
|
|
|
|
#6 |
|
Prospect
Join Date: Mar 2005
Posts: 7
|
ok, i'll try that, thanks.
apologies for the cross post. i was just trying to keep to the topic. =) |
|
|
|
|
|
#7 |
|
Prospect
Join Date: Mar 2005
Posts: 7
|
well, for one i'm not running bind. i've disabled all IPV6
(ceph@cephnet:~) $ ip6config stop-v6 all Stopping IPv6 on all interfaces. ip6: error detaching en0 ip6: error detaching fw0 tried as sudo, still get those last two errors, and nothing changes in regards to ssh and ftp time. do the en0 and fw0 interfaces need to be inactive for it to work? thanks. |
|
|
|
|
|
#8 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
|
Use the Network preferences GUI for disabling IPv6 - via the "Configure IPv6" button under the TCP/IP pane.
|
|
|
|
|
|
#9 |
|
Prospect
Join Date: Mar 2005
Posts: 7
|
i used the preference panel to turn off IPv6, and it looks like it drastically reduced the time it takes for ftp or ssh to respond. It's not 100% though, as it still takes about 15 seconds for ftp to kick through (could be anything though, likely the router), but it's a whole lot better than it was.
thanks again for the help. |
|
|
|
|
|
#10 |
|
Hall of Famer
Join Date: Sep 2003
Location: Old Europe
Posts: 4,969
|
For the 15 seconds issue this recent hint should help:
http://www.macosxhints.com/article.p...18462#comments |
|
|
|
|
|
#11 | |||||||||||||||||||||||
|
Prospect
Join Date: Mar 2005
Posts: 7
|
thanks.. i'm just not sure bellsouth cares or will do anything about this. (i get the NXDOMAIN deal, so ssh will still be a little slow unless i can find a way to fix that too.) i appreciate the help |
|||||||||||||||||||||||
|
|
|
|
|
#12 |
|
Triple-A Player
Join Date: Feb 2005
Location: Mass.
Posts: 100
|
Just something I noticed with my ftp and ssh from outside my network. First if you are trying to ftp or ssh into a machine that is on an airport connection make sure interference robustness is off, it might be coincidence but it cut my wait time in half....I have virtually no delay in ftp, telnet, or ssh, and my laptop is running on a airport express that is boosting my signal from my airport extreme that is across the house.
Another thing if it is your internet provider....try changing the MTU with your ifconfig for en0 or en1(depending if you are using wireless or not)....i know DSL is picky about the MTU being 1492 (i believe) for optimum performance....my MTU is 1500 but I am on T1, so it may vary...also this MTU defaults back to 1500 with a reboot, so if you change it it will change back. The command is below to change it. As root: ifconfig en1 mtu 1492 you can change that number to whatever, but i am no expert, i just read this off of other boards a while back and remembered it. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|