FTP login delay

4 posts / 0 new
Last post
#1 Tue, 12/11/2007 - 19:54
excalibur

FTP login delay

This is one I don't think I can solve myself!

Status: Connection established, waiting for welcome message...

The FTP server stalls at this point, leaving me to wait for ~10-15 seconds until it finally logs in. This happens for both inital login as well as the initial file xfer. This happened the last time I implemented a ProFTPd server (before Virtualmin) - but it was working quite nicely yesterday. That was until I completely broke the MySQL server.

The logs show this:

Dec 12 16:40:57 clarent proftpd[3743] clarent.voodooland.net: ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP Dec 12 16:41:12 clarent proftpd[3747] clarent.voodooland.net (10.0.0.1[10.0.0.1]): FTP session opened. Dec 12 16:41:12 clarent proftpd[3747] clarent.voodooland.net (10.0.0.1[10.0.0.1]): mod_delay/0.5: delaying for 10 usecs Dec 12 16:41:12 clarent proftpd[3747] clarent.voodooland.net (10.0.0.1[10.0.0.1]): USER voodootechnologies: Login successful. Dec 12 16:41:12 clarent proftpd[3747] clarent.voodooland.net (10.0.0.1[10.0.0.1]): mod_delay/0.5: delaying for 2206 usecs Dec 12 16:42:45 clarent proftpd[3777] clarent.voodooland.net (10.0.0.1[10.0.0.1]): FTP session opened. Dec 12 16:42:45 clarent proftpd[3777] clarent.voodooland.net (10.0.0.1[10.0.0.1]): USER voodootechnologies: Login successful. Dec 12 16:42:45 clarent proftpd[3777] clarent.voodooland.net (10.0.0.1[10.0.0.1]): mod_delay/0.5: delaying for 1947 usecs Dec 12 16:43:25 clarent proftpd[3777] clarent.voodooland.net (10.0.0.1[10.0.0.1]): FTP session closed.

Whilst I know that mod_delay is at work, it is not entirely to blame. In fact, I noticed no difference with it on or off.

Tue, 12/11/2007 - 20:10
excalibur

Extra info that may be useful...

Status: Connecting to 10.0.0.3:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.0 Server (Voodoo) [10.0.0.3]
Command: USER voodootechnologies
Response: 331 Password required for voodootechnologies.
Command: PASS *******************
Response: 230 User voodootechnologies logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/voodootechnologies" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (10,0,0,3,174,208).
Command: LIST
Response: 150 Opening ASCII mode data connection for file list
Response: 226 Transfer complete.
Status: Directory listing successful

Tue, 12/11/2007 - 20:42 (Reply to #2)
excalibur

Bah. So I did work it out...

Just had to add IdentLookups off in the /etc/proftpd/proftpd.conf file...

Thu, 12/13/2007 - 13:57 (Reply to #3)
Joe
Joe's picture

Hehehe...Good job. I was just dropping in to say, whenever someone says "logins are slow", no matter what service, my first instinct is to say, "are you sure name lookups are happening fast and correctly for the client you're connecting from?"

Glad to hear you got it spinning nicely.

--

Check out the forum guidelines!

Topic locked