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.

Weird FTP problem

Discussion in 'General Discussion' started by dzevad, Jul 3, 2002.

  1. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Since recently I got few emails from my users saying that FTP is too slow. I went to check it and it really is. Problem is when I start FTPing around it just stops like there is no more connection. Or I upload one or two files and it stops again, and I have to make new connection to upload next one. I've been trying for 2 hours to upload 15 very small files. Once when transfer starts connection is very fast, but after a file or two it stops and I can't send any commands. I tried different FTP clients and different ISP-s but still it just stops. Also I can surf my site on same server and work in telnet without any problems, so it's not connection problem.
    Server load is usually 0.1 or 0.2, also there is a lot of space on disk left. ProFTPd is 1.2.4 (comes with cpanel).

    Any ideas what could be wrong?

    Thanks
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    First, check your nameserver configuration.
    (/etc/resolv.conf)
    That's how you expected it, right?

    Is there a chance you are truly maxing out your connectivity?
    Are there frequent, multiple proftpd sessions with a large chunk of bandwidth being used each instance?

    (aka, are these users people with a large pipe on their end and are they connected 24/7 uploading huge images/movies)
     
  3. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    /etc/resolv.conf is ok i guess:

    domain xxxx.xxx
    search xxxx.xxx
    nameserver 127.0.0.1
    namserver 128.9.0.107
    nameserver 66.96.193.2

    I checked connection, while I was working there were no ftp connection beside me. Also there are no users that transfer large files over FTP on my server. Also the server load was 0.10, most of the memory is free also, swap is not in use, more than 70% free space on drive. My RH is 7.2. I also tried restarting proftpd but it didn't help either.
    Very strange :) Any other ideas?
     
  4. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    I find syncing the FTP passwords in WHM cures &some& of the slowness.
     
  5. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    make sure named is running since your using your server as the first resolver.
     
  6. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Syncing FTP passwords didn't help, also named is running fine, and problem still remains. Not only that, but I get more and more messages from clients, especially new ones who can't upload their sites at all.
     
  7. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    I solved the problem by using FTP client with pasive mode like WS_FTP. Probably there is some kind of connection problem.
     
Loading...

Share This Page