View Full Version : FTP = slow, SSH = fast, www = fast - huh?
WildWayz 10-11-2001, 08:00 AM Hi ya,
I have a new dedicated server and what I have noticed is that the speed of it is varied depending on what service you are using.
FTP speeds (uploading/downloading) is VERY slow when uploading smallish files (took me about 30mins to upload vBulletin)
Just then I got..
Transferred 4 files totaling 25,057 bytes in 46.81 (2.54 KB/Sec)
If I upload/Download a large file it seems to be more stable and speed stays high.
But what gets me is that view webpages of sites on the server is very fast, so is SSH.
It's only FTP that is slow like this.
I done a traceroute of this server and my VO one, and both servers gave the same ping replies - and only 1 hop difference.
if you tracert www.insomnia-webhosting.com - that is on this new server, or www.moose-shack.com - on my VO one.
Any ideas what is up? I have tried ClaraNet and BTInternet ISP accounts to test it.
--James
Jedito 10-11-2001, 03:54 PM is it your own box?
If so, edit resolv.conf and remove the last nameserver.
nameserver 157.238.46.46
It looks like lately isn't responding as a name server.
Try with this and see if it fix it.
WildWayz 10-11-2001, 04:19 PM Hi,
I don't have an entry for that, only
domain darkorb.net
search darkorb.net
nameserver 205.162.50.248
nameserver 66.96.193.2
nameserver 66.96.194.2
--James
EDIT - 157.238.46.46 points to Verio - the problem isn't with the server that moose-shack.com uses. insomnia-webhosting.com's server is the one with slow FTP speeds.
node9 10-11-2001, 04:32 PM I dont see how this is a resolving-hostnames/dns issue..
i really dont
=\
when you connect to the server, it dnses you, ONCE, and this happens at the beginning....
not through the whole ftp transfer
WildWayz 10-11-2001, 04:38 PM here are some tracerts...
Tracing route to insomnia-webhosting.com [209.51.136.171]
over a maximum of 30 hops:
1 50 ms 40 ms 40 ms fab-rk-38.access.clara.net [195.8.83.38]
2 231 ms 90 ms 40 ms access-fe-0-0-0-banner-starbuck.router.clara.net [195.8.83.128]
3 30 ms 50 ms 51 ms atm-6-0-0-telee-tashtego.router.clara.net [195.8.68.138]
4 40 ms 40 ms 30 ms 195.66.225.76
5 40 ms 40 ms 40 ms core2-lhr1-stm16.lhr3.above.net [208.185.156.2]
6 140 ms 190 ms 150 ms lga1-lhr3-stm64.lga1.above.net [64.125.31.182]
7 140 ms 150 ms 150 ms core2-lga1-oc192.lga2.above.net [208.184.232.198]
8 151 ms 160 ms 160 ms atl2-lga2-oc48.atl2.above.net [208.184.232.157]
9 151 ms 160 ms 160 ms core1-atl2-oc48.atl4.above.net [208.184.232.18]
10 160 ms 161 ms 150 ms 64.124.51.162.cogentco.com [64.124.51.162]
11 160 ms 161 ms 150 ms g49.ba01.b000173.atl01.atlas.cogentco.com [66.28.5.242]
12 160 ms 150 ms 171 ms five-star-communications.demarc.cogentco.com [66.28.20.130]
13 160 ms 160 ms 161 ms 209.51.137.250
14 161 ms 170 ms 170 ms 209.51.136.171
Doesn't seem too bad
--James
WildWayz 10-11-2001, 04:55 PM It's just weird - Only WHM and FTP are slow - the rest are fast.
--James
The Prohacker 10-11-2001, 06:27 PM You'd have to check with the datacenter but sometimes they will put a cap on the bandwidth used on a certain port so it won't be appealling for people to put illegal software on an ftp.....
WildWayz 10-11-2001, 07:05 PM I can understand them doing that - but I am on ISDN and get those slow speeds, not broadband :/
Downloading via wget/ ftp from the server is fast.
Will try reversing it.. downloading from my computer to the server instead of uploading.
Hmmm
.zip files = fast
.html, .txt etc (small files) = slow - pauses for a few seconds between each file.
--James
Jedito 10-11-2001, 09:33 PM Originally posted by WildWayz
I can understand them doing that - but I am on ISDN and get those slow speeds, not broadband :/
Downloading via wget/ ftp from the server is fast.
Will try reversing it.. downloading from my computer to the server instead of uploading.
Hmmm
.zip files = fast
.html, .txt etc (small files) = slow - pauses for a few seconds between each file.
--James
You mean .zip files? or big files?
I saw the same problem in my box in VO, and I changed the resolv.conf and that solved it.
WildWayz 10-12-2001, 01:09 AM Any big files - I used .zip as an example :)
all of those ip's in resolve.conf point to Burst.net (Server is with ServerHost).
Also, I just tested the mail server and it too is very slow to respond when sending/receiving.
--James
afhosting 10-12-2001, 05:34 PM I recently solved this problem on one of our boxes by adding
UseReverseDNS off
IdentLookups off
to the /etc/proftpd.conf file
There was a post on the cpanel forum about removing
nameserver 205.162.50.248
from the resolv.conf but that didnt help
node9 10-12-2001, 05:36 PM once again
this is not a matter of "it takes too long to LOGIN my ftp server" <-- this would be a dns / ident issue.....
It is him getting 2-3k/sec on downloading.
Jedito 10-12-2001, 06:41 PM Node9 if you take a look of what he say, the problem is when he try to download new files, that is why big files comes fast and small comes slow.
WildWayz 10-12-2001, 07:21 PM OMG - thank you guys!
I done a search on CPanel's forums and saw this thread...
http://support.cpanel.net/new/viewthread.php?tid=258
I done what was adviced by removing nameserver 205.162.50.248 from resolve.conf and all if great!
FTP is sooooooooooooooooooooooooo fast now!
No lag between files or anything!
Look at the difference now
Transferred 128 files totaling 626,008 bytes in 03:43 (4.03 KB/Sec)
Thanks!
James
ShaunM 10-17-2001, 05:19 AM I had a similar problem to this. It would take for ever to make connections. If i'd telnet to the machine it would take a good 30 seconds to connect but once connected it ran fast. Turned out to be a duplex problem on the switch... the machine and the switch were not matching each other. If you have root access do a ifconfig see how many collisions you have.
SuperDon 10-17-2001, 06:09 AM Hi,
I have similar problems to the above but in my resolv.conf I have this listed...
domain purple-paw.com
search purple-paw.com
nameserver 127.0.0.1
nameserver 66.96.193.2
nameserver 66.96.194.2
What do i need to change here to resolve these FTP speed issues?
The server is with pwebtech and is running CPanel/WHM.
Thanks.
Alan - Vox 10-17-2001, 06:41 AM Im also with pwebtech and have 1 user who complains of slow ftp at certain times of the day.
What datacenter are you in SuperDon? im in NAC
domain darkorb.net
search darkorb.net
nameserver 127.00.00.01
nameserver 205.162.50.248
nameserver 66.96.193.2
nameserver 66.96.194.2
anything i can do with this to improve it?
WildWayz 10-17-2001, 06:49 AM I removed
nameserver 205.162.50.248
then rebooted server to make sure everything started up again ok.
That was all that was needed to fix it!
--James
SuperDon 10-17-2001, 07:51 AM Hi,
I am at NAC too!
I dont undertand why i have...
domain purple-paw.com
search purple-paw.com (which is my domain)
nameserver 127.0.0.1
nameserver 66.96.193.2
nameserver 66.96.194.2
Instead of....
domain darkorb.net
search darkorb.net
nameserver 127.0.0.1
nameserver 66.96.193.2
nameserver 66.96.194.2
Also it seems that i do not have an entry for....
nameserver 205.162.50.248
Does this means that file is already configured correctly? If so why is FTP slow at connecting and there is always a delay between file uploads. It's not terrible, just slightly annoying at times.
Thanks.
|