Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 12-22-2002, 10:48 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
how do i cap bandwidth?

we're running an rh7.2 server that is co-located. we're running into some apache trouble as sometimes somethingi s causing spikes. the data center wants to charge us for bandwidth next time it happens. i want to know if there is a way to cap bandwidth from the server itself.
sde is offline   Reply With Quote
Old 12-22-2002, 11:06 PM   #2 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
If you want to do traffic shaping at the IP level, then look at iptables and tc. Here is a helpful google: http://www.google.com/search?hl=en&i...tables+shaping

If you are only concerned about Apache, but want to let other services burst without interference then take a look at mod_throttle: http://www.snert.com/Software/mod_throttle/

I think the best bet is to use tc and manage the traffic at the IP level, just use a different IP for Apache.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Old 12-23-2002, 02:31 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
perhaps wipl-wrr will be useful: http://wipl-wrr.sourceforge.net/
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 12-23-2002, 04:19 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
thanks for the replies. now for seeing if i can get something to work.
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth Usage Question: sde Lounge 3 01-27-2003 09:46 AM
limitting bandwidth? sde Windows 10 12-02-2002 05:49 PM


All times are GMT -8. The time now is 01:29 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting