On Fri, Feb 26, 2010 at 8:11 AM, Jason Pyeron wrote:
>> wrote:
>> > But I do not know how to persist this.
>>
>> perhaps in the rc.local file?
>>
>
> I am sure there is a proper file for this. Just like iptables, routing, etc.
I am not so sure.
You could make your own init script, like these gu
> -Original Message-
> From: Rajagopal Swaminathan
> Sent: Friday, February 26, 2010 4:12
> To: CentOS mailing list
> Subject: Re: [CentOS] Bandwith limiting
>
> Greetings,
>
> On Fri, Feb 26, 2010 at 2:13 PM, Jason Pyeron
> wrote:
> >
> >
Greetings,
On Fri, Feb 26, 2010 at 2:13 PM, Jason Pyeron wrote:
>
> [r...@mirrors html]# tc qdisc add dev eth1 handle 1:0 root dsmark indices 1
> default_index 0
> [r...@mirrors html]# tc qdisc add dev eth1 handle 2:0 parent 1:0 tbf burst
> 2048
> limit 2048 mtu 1514 rate 3200bps
Gee Thanks! :)
I found out how to limit all traffic on a give nic:
[r...@mirrors html]# tc qdisc add dev eth1 handle 1:0 root dsmark indices 1
default_index 0
[r...@mirrors html]# tc qdisc add dev eth1 handle 2:0 parent 1:0 tbf burst 2048
limit 2048 mtu 1514 rate 3200bps
But I do not know how to persist this.
Centos 4.x with out any non centos rpms, is it possible to limit the bandwith of
a virtual host in apache?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.p
5 matches
Mail list logo