Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-25-2005, 03:56 PM
|
#1
|
Member
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91
Rep:
|
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.
|
|
|
07-25-2005, 09:06 PM
|
#2
|
Member
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109
Rep:
|
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.
|
|
|
07-25-2005, 09:21 PM
|
#3
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
07-26-2005, 05:12 AM
|
#4
|
Member
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91
Original Poster
Rep:
|
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?
|
|
|
07-26-2005, 07:19 AM
|
#5
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
'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..
|
|
|
07-26-2005, 08:06 AM
|
#6
|
Member
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91
Original Poster
Rep:
|
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
|
|
|
07-26-2005, 09:34 AM
|
#7
|
Member
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|