LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Slow proftpd Connections (https://www.linuxquestions.org/questions/linux-software-2/slow-proftpd-connections-184160/)

carmstrong 05-21-2004 11:50 AM

Slow proftpd Connections
 
Just like the thread name implies, I'm experiencing about a 15-second wait after connecting to my proftpd server.

Connecting to l1.fragville.com
Connected to l1.fragville.com -> IP=69.36.35.130 PORT=21
(about 15 seconds)
Then the user information, etc.

What could this be caused by?

My proftpd.conf file:
Code:

ServerName                      "Welcome to Fragville"
ServerType                      standalone
DeferWelcome                    off
ServerIdent                    off
ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                  on
ShowSymlinks                    on
AllowOverwrite                  on
TimeoutNoTransfer              600
TimeoutStalled                  600
TimeoutIdle                    1200
DisplayLogin                    welcome.msg
DisplayFirstChdir              .message
LsDefaultOptions                "-l"
DenyFilter                      \*.*/
DefaultRoot                    ~
Port                            21
PassivePorts                    51000 51999
MaxInstances                    50
User                            nobody
Group                          nogroup
<Directory /*>
  Umask                        022  022
  AllowOverwrite                on
</Directory>


carmstrong 05-21-2004 12:11 PM

Also, for some reason, I can't follow symlinks. I can see them but I get the error:

CWD html
550 html: No such file or directory

Any ideas?

carmstrong 05-21-2004 01:00 PM

I got around this issue by mounting the directory I wanted to symlink to as a directory in the home directory of the user.

My original problem, the slow login, still exists though.

sleddog 05-22-2004 07:02 AM

By default ProFTPD tries to do DNS and ident lookups. You can disable this behaviour by adding the following lines to your proftpd.conf:

UseReverseDNS off
IdentLookups off

Restart proftpd and you should see faster connections.


All times are GMT -5. The time now is 12:52 AM.