Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    9

    Default FTP Hangs for 10 seconds then goes

    Hi,

    FTP used to be lickedy split in Cpanel... then all of a sudden (might be upgrade) when I or anyone connects to the Cpanel FTP, it hangs............. then connects.

    Then if you try and upload everything it hangs........................................... and then uploads it.

    I've heard it's because Cpanel has to "think" to see where the user is going... but that is weird, never happened before in Cpanel or Windows.

    What can I do?

    This makes development work very tedious.

    Thanks!

    Zartan
    zartan@chupacabras.net

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    9

    Wink Fixed!

    Cpanel support was great in assisting me...

    The problem was that my Firewall "Tiny Personal Firewall" for some reason was slowing the communication of the server to my home PC. Simply disabling the firewall fixed the problem.

    Just in case someone has the same problem.


  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    16

    Default

    I don't have any firewall, and I get a hang and a quick disconnect from the server if I am not exchanging files, it releases the connection much too quickly. Any way to adjust this?
    I am connecting using passive ftp. Seems to be the only way?

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Try turning off reversedns lookups in /etc/proftpd.conf.. you can also edit the idle timout here as well.
    Beau Henderson

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    16

    Default

    I don't see a line that allows 'reverse dnslookup' in the file? do I have to write it in? and if so, what would be the syntax?

    I also don't see the idle time out, is there another conf file that I am not seeing?

  6. #6
    Member
    Join Date
    Mar 2002
    Posts
    105

    Default

    Add this to proftpd.conf then restart proftpd.


    Add this after DefaultRoot ~ !wheel

    UseReverseDNS off
    IdentLookups off

    <Global>
    IdentLookups off
    </Global>

    This worked for me and I don't get the pause. I also had to add the Global section because the top setting didn't work for ip based sites. It only worked for the shared sites.

  7. #7
    Member
    Join Date
    Mar 2003
    Posts
    16

    Default

    I am still getting the pause when I log in,
    also what is the idle time out adjustment syntax? and does that go in the same place,

    thanks

  8. #8
    Member
    Join Date
    Mar 2002
    Posts
    105

    Default

    This is what I have on mine. Works perfect for me.



    ServerName "ProFTPD"
    AuthUserFile /etc/proftpd/passwd.vhosts
    LogFormat BytesLog "%b"
    ServerType standalone
    DeferWelcome off
    DefaultServer on
    DefaultRoot ~ !wheel
    UseReverseDNS off
    IdentLookups off
    TimeoutNoTransfer 300
    TimeoutIdle 300
    TimeoutLogin 120
    TimeoutStalled 600


    <Global>
    IdentLookups off
    </Global>

Similar Threads & Tags
Similar threads

  1. Cronjob in seconds
    By SystemJay in forum New User Questions
    Replies: 2
    Last Post: 10-13-2009, 11:49 PM
  2. FTP Problems, hangs
    By silvernetuk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-25-2003, 02:40 AM
  3. FTP Logs in Then Hangs
    By PeteC in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-27-2003, 11:12 PM
  4. how to run a cronjob every 5 seconds?
    By nat in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2003, 01:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube