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.