dzevad

Well-Known Member
Oct 7, 2001
95
0
306
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
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
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)
 

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
/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?
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
I find syncing the FTP passwords in WHM cures &some& of the slowness.
 

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
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.
 

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
I solved the problem by using FTP client with pasive mode like WS_FTP. Probably there is some kind of connection problem.