The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ProFTPD takes ~30 secs to connect

Discussion in 'General Discussion' started by keyDet79, Dec 16, 2003.

  1. keyDet79

    keyDet79 Well-Known Member

    Joined:
    May 11, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Netherlands
    All of a sudden my ProFTPD takes around 30 seconds to connect, not to do reverse dns (I believe I have it turned off since there's nothing about it in proftpd.conf), but to actually get a reply.

    Also, I switched to PureFTPD temporarily and one customer is having problems. Does anyone know how to prevent PureFTPD from disconnecting an idle user after 15 minutes? It seems to be timing out after a while if he uses cgi scripts to establish a connection and upload to ftp.
     
  2. WebmastTroy

    WebmastTroy Well-Known Member

    Joined:
    Apr 28, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    [EDIT]
    Previous response was completely wrong. In /etc/sysconfig/pure-ftpd, --maxidletime=15 needs to be changed. After that, /scripts/restartsrv ftpserver or use the link in WHM
    [/EDIT]
     
    #2 WebmastTroy, Dec 18, 2003
    Last edited: Dec 18, 2003
  3. fiberfeed

    fiberfeed Member

    Joined:
    Dec 12, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    One way to fix the lag in logging into server via proftpd daemon

    is to add this to your proftpd.conf:


    UseReverseDNS off

    This will skip the DNS

    I am not sure how this would affect the Virtual Hosting with proftpd, but it does solve the lag when logging into proftpd
     
Loading...

Share This Page