techark

Well-Known Member
May 22, 2002
280
0
316
Speed up the connection time of FTP?

I have one server that seems fine as far everythign else but the waiting for a connection when using a FTP client is really slow. My other servers on the same network etc all connect much faster, this one only a few weeks old takes awhile. I also notice a considerably difference when I use putty there is a longer than normal lag time to connect. Anyone else face this?

Oh and Mem is the same as my other sever load is low and processer is a PIII 1.2
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
Set proftpd to not do a reverse lookup on an IP. This is probably the cause of your delay.
 

nsr81

Member
Mar 31, 2002
18
0
301
I can't seem to find an option in /etc/proftpd.conf to turn off reverse look up. Can any one tell me where it is or if it isn't inserted by default, then what should I put in.
 

Marty

Well-Known Member
Oct 10, 2001
630
1
318
Open /etc/proftpd.conf and find this line:

DefaultRoot ~ !wheel

Below it add:

UseReverseDNS off
IdentLookups off
TimeoutNoTransfer 900
TimeoutIdle 900

That will stop proftpd from doing reverse and indent lookups during the connection process which should help with timeouts. This resolved a lot of connection timeout complaints for me.