Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
04-23-2006, 04:32 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 7
Rep:
|
Default Bandwidth Restriction in Slackware?
I'm setting up a Slackware box to use occassionally as a personal webserver. (Nothing too serious, mostly just to tinker around with and store some personal, but relatively unimportant files.)
Everything seems to be going smoothly, with apache, vsftpd and mysql set up the way I want them, except for one really annoying problem: It seems that bandwidth coming *out* of the server is severely restricted. I can download to the server from other computers on my network (and the web) at speeds upwards of 300k/s. But when any other computer tries to download from it (via HTTP, FTP, SFTP or DirectConnect), it seems impossible to get speeds of more than 4 or 5 kb/s.
I haven't ruled out the possibility of a hardware problem. However, I have tried changing network cables, changing switches, changing positions of the cables within the switch, all to no avail. For what it's worth, my Powerbook running apache has no problem when other computers try to download from it.
So, my question is: Does Slackware have some system-level bandwidth limiting going on that I've been completely unaware of? I've tried poking around various configuration files, but I'm not even sure who controls things like that. (Or if such a place exists.) Inetd?
Any help would be much appreciated.
|
|
|
04-23-2006, 06:01 PM
|
#2
|
Member
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900
Rep:
|
Are you sure it's not because you're on ADSL? Upload speeds are usually much lower on these connections than downloads.
|
|
|
04-23-2006, 07:10 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally Posted by lobotomy42
I'm setting up a Slackware box to use occassionally as a personal webserver. (Nothing too serious, mostly just to tinker around with and store some personal, but relatively unimportant files.)
Everything seems to be going smoothly, with apache, vsftpd and mysql set up the way I want them, except for one really annoying problem: It seems that bandwidth coming *out* of the server is severely restricted. I can download to the server from other computers on my network (and the web) at speeds upwards of 300k/s. But when any other computer tries to download from it (via HTTP, FTP, SFTP or DirectConnect), it seems impossible to get speeds of more than 4 or 5 kb/s.
I haven't ruled out the possibility of a hardware problem. However, I have tried changing network cables, changing switches, changing positions of the cables within the switch, all to no avail. For what it's worth, my Powerbook running apache has no problem when other computers try to download from it.
So, my question is: Does Slackware have some system-level bandwidth limiting going on that I've been completely unaware of? I've tried poking around various configuration files, but I'm not even sure who controls things like that. (Or if such a place exists.) Inetd?
Any help would be much appreciated. :)
|
Would be nice to get some details about the hardware ... the speed you're
suggesting as the upload almost sounds like a 56K modem ;) ... and no,
there is no such thing as a default-speed-limit on slackware.
Cheers,
Tink
|
|
|
04-23-2006, 08:52 PM
|
#4
|
Member
Registered: Jun 2005
Distribution: Slackware64 13.0 (multilib)
Posts: 67
Rep:
|
I'd have to go along with Gethyn on this one that it might be your isp connection, I have a cable connection, and while I can download at up to about 400K/sec my upload speeds only go up to 20-30K a sec.
|
|
|
04-23-2006, 08:57 PM
|
#5
|
LQ Newbie
Registered: Sep 2003
Posts: 7
Original Poster
Rep:
|
Not DSL - the file transfers I've done so far have just been from computer to computer on a local network.
Right. The network set up is this: I have my Powerbook, the Slack box, and another PC desktop all plugged into a 10/100 switch in my dorm room - this switch then uplinks to my campus network. (Another possible source of odd behavior, I know. When I get a chance, I'll disconnect the whole thing and see if the behavior persists with self-assigned IPs.)
Specifically, my Slack box has an Asus motherboard from a few years back with an onboard 10/100 LAN connection which I've been using. I don't know the model number offhand, but that can be looked up if there's any chance it's relevant.
If it's any help at all, here's the rest of my known system specs:
Athlon XP 2400+
1.5 GB DDR RAM
Radeon 9600 Pro
80 GB 7200 RPM HD (IBM?)
That's more or less it. There's also an PlexWriter CD-ROM of some sort. And some USB peripherals.
Hmmm..so perhaps this isn't a Slackware question as much as a hardware question. Man, do I hate those. :P
Anyway, I suppose I'll keep tinkering with things. If any thoughts come to you, though, please let me know!
|
|
|
04-24-2006, 02:32 AM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
lspci -v
And yes, the network hardware *would* be important in that
scenario. Also, have a look at
/var/log/syslog
/var/log/debug
/var/log/messages
to check whether there's any "known problems" with the card.
Cheers,
Tink
|
|
|
05-07-2006, 02:52 PM
|
#7
|
LQ Newbie
Registered: Sep 2003
Posts: 7
Original Poster
Rep:
|
So, the problem turns out to be a faulty network cable. I hate hardware. It's so inelegant. :P
|
|
|
05-07-2006, 04:04 PM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Hehe... thanks for updating the thread! :)
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 09:33 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
|
|