LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2006, 03:32 PM   #1
lobotomy42
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
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.
 
Old 04-23-2006, 05:01 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Are you sure it's not because you're on ADSL? Upload speeds are usually much lower on these connections than downloads.
 
Old 04-23-2006, 06:10 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 04-23-2006, 07:52 PM   #4
sunman
Member
 
Registered: Jun 2005
Distribution: Slackware64 13.0 (multilib)
Posts: 67

Rep: Reputation: 15
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.
 
Old 04-23-2006, 07:57 PM   #5
lobotomy42
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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!
 
Old 04-24-2006, 01:32 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 05-07-2006, 01:52 PM   #7
lobotomy42
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
So, the problem turns out to be a faulty network cable. I hate hardware. It's so inelegant. :P
 
Old 05-07-2006, 03:04 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hehe... thanks for updating the thread! :)


Cheers,
Tink
 
  


Reply



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
user based bandwidth restriction through squid jaychoksi2003 Linux - Security 3 10-23-2005 05:10 AM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Default Slackware Firewall SML Slackware 4 03-18-2004 05:05 AM
Slackware 9.1 Default mysql silversky Slackware 7 01-29-2004 03:12 PM
Default Slackware kernel Wynd Slackware 1 06-03-2003 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:43 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