View previous topic :: View next topic |
Author |
Message |
Cheesepie Apprentice
Joined: 19 Jan 2004 Posts: 154
|
Posted: Sun Jan 25, 2004 7:11 pm Post subject: [ content removed, DMCA ] |
|
|
[ content removed, DMCA ]
Last edited by Cheesepie on Thu Feb 09, 2023 12:37 am; edited 1 time in total |
|
Back to top |
|
|
Crg Guru
Joined: 29 May 2002 Posts: 345 Location: London
|
Posted: Mon Jan 26, 2004 12:50 am Post subject: Re: Limiting bandwidth usage (not quota!) |
|
|
Cheesepie wrote: | I have an MDK webserver running on an old p3 600 box.
Anyways, one of the sites on that server recently became very popular, and its starting to lag my adsl connection beyond beleif.
Is there a way to throttle the server's bandwidth usage, so I can leave some bandwidth for the rest of my LAN? Im not talking about user quotas here, I need something to throttle the actual connection. |
Most of the webservice traffic would be upstream wouldn't it?
You could use QoS and give everything else priority over traffic from port 80 of your webserver.
If you search for "wondershaper" on these forums it should match quite a few things which might be of some help to you. |
|
Back to top |
|
|
Janne Pikkarainen Veteran
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Mon Jan 26, 2004 12:27 pm Post subject: |
|
|
If you're using Apache 1.3.x, then Apache's mod_throttle is very handy. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
|
mirko_3 l33t
Joined: 02 Nov 2003 Posts: 605 Location: Birreria
|
Posted: Mon Jan 26, 2004 12:49 pm Post subject: |
|
|
I think some programs are wondershaper and trickle... don't have links, but it shouldn't be hard to find them on google.com/linux... just I don't have the time right now, sorry _________________ Non fa male! Non fa male! |
|
Back to top |
|
|
FuzzeX Tux's lil' helper
Joined: 08 Jan 2003 Posts: 96
|
Posted: Mon Jan 26, 2004 6:43 pm Post subject: |
|
|
I don't know how comfortable you are with iptables, but I've setup a filter that does something similar on my DSL line.
I use a token bucket filter on my upstream and stocastic fairness queuing on my down. Check out the Linux Advanced Routing Howto for more on it. I would give you the lines, but I'm not at that box very much at the moment, but I could post them later this week. |
|
Back to top |
|
|
Arno Tux's lil' helper
Joined: 19 Oct 2002 Posts: 126 Location: France
|
|
Back to top |
|
|
|