LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-25-2005, 03:56 PM   #1
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Rep: Reputation: 15
Very slow transfer speeds via LAN


I'm not sure whether this belongs in the Networking or Software forum, so if a mod sees this, please move it to where it's supposed to be.

Anyway, I am getting ridiculously slow transfer speeds when FTPing things to my server (running ProFTPd) and also when accessing the webserver (Apache 2) located on the same box.

I had this problem a while ago, but now, after not having used my server in a few months, it seemed to have disapred. Until not long ago, when the problem has arisen again.

The server is located on my LAN, running Slackware 10.0.

I've tried using different computers on the LAN to FTP and access the intranet, to the same result. A wired in computer (100mbs ethernet) and a wireless laptop (54mbs).

It's a great annoyance for most websites to load within a second or two (1mb ADSL) but for a page saying "Hello World" located on a computer less than a foot away from me to take 5-15 seconds.

For the first few seconds, nothing appears, and in the status bar on Firefox it says "Waiting for 192.168.1.6", then all of a sudden everything that is supposed to be there appears all at once.

Similarly with FTP'ing. (Usually use SmartFTP as my client, though have tried WS FTP, Cute FTP and numerous others, which has had no effect on the issue).

Driving me insane, any ideas?

EDIT:
Same issue when accessing the FTP / Web server from the box itself, locally. Takes just as long.

Last edited by TBomb; 07-25-2005 at 03:58 PM.
 
Old 07-25-2005, 09:06 PM   #2
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
Sounds like your machine may be running low on memory. Try running

cat /proc/meminfo

and copying the result into here. If it indeed is, there's probably a process or two that's eating it all up. Run top, and type M [just a capital m] and see what the top few processes are. If you can restart or kill those services [or kill the runaway processes, if that's the case], you can probably free up some memory. Rebooting can be a last alternative.

If none of that works, reply here and I'll see what I can do.
 
Old 07-25-2005, 09:21 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Also run ifconfig eth0 and see if there are a lot of packetr errors reported (both on your machine and the server). You can also run a packet sniffer like Ethereal on the server and look for bad packets. It could be a number of things.
 
Old 07-26-2005, 05:12 AM   #4
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
There wasn't much memory left, memory free showed about two and a half mb.

Also CPU was on 97-99% all the time, with a process called 'VI' being 95% of that. I killed that, and seems to be working fine, and most importantly, faster.

Do I need VI to be running, if I don't, how do I stop it from starting at boot?
 
Old 07-26-2005, 07:19 AM   #5
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
'vi' is a text editor, so it definately should not be starting at boot. Are you sure you hadnt started it yourself? If not, it could be in a number of places:
rc.local
~/.bashrc
~/.bash_profile
~/.profile
/etc/profile
~/.xinitrc
...etc... It could be about anywhere, if that realy is the case..
 
Old 07-26-2005, 08:06 AM   #6
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
I may have started it a while ago, but for text editting in the konsole I use pico. VI just shows a long list of '~'s, don't really know how to use it.

I just started VI again, and not knowing how to properly exit the program, just closed the konsole. Running top again, showed 97.6% CPU usage, with VI being the #1 offender.

Guess thats solved my little problem, just have to read up on how to use VI I Guess :P
 
Old 07-26-2005, 09:34 AM   #7
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
Well, if you ever get stuck in VI again, just hit escape a few times and then type :q! [the exclamation point is part of the command]. That should quit it without saving the changes. If all else fails, killall vi.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB transfer speeds incredibly slow apachedude SUSE / openSUSE 3 10-20-2005 07:16 PM
proftpd transfer speeds are extremely slow... wpg9210 Linux - Software 1 12-03-2004 08:23 PM
Excessively slow network transfer speeds from XP to Linux… MooGLEX Linux - Networking 1 07-04-2004 02:13 AM
How can i get higher transfer speeds on my small LAN? Klas Linux - Networking 3 03-18-2004 04:10 PM
Horribly slow transfer speeds with SAMBA jordanyeo Linux - Networking 6 11-18-2003 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration