Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ content removed, DMCA ]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cheesepie
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 154

PostPosted: Sun Jan 25, 2004 7:11 pm    Post subject: [ content removed, DMCA ] Reply with quote

[ content removed, DMCA ]

Last edited by Cheesepie on Thu Feb 09, 2023 12:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Mon Jan 26, 2004 12:50 am    Post subject: Re: Limiting bandwidth usage (not quota!) Reply with quote

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
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Mon Jan 26, 2004 12:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Mon Jan 26, 2004 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Mon Jan 26, 2004 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arno
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 126
Location: France

PostPosted: Mon Jan 26, 2004 9:28 pm    Post subject: Reply with quote

Not in portage, but this httpd could interest you:
http://www.acme.com/software/thttpd/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum