global rate limit

Olivier Bonvalet nginx.list at daevel.fr
Fri Oct 17 10:55:27 MSD 2008


Jakub Kasica a écrit :
> Hello.
> Is there any possibility to limit traffic in nginx?
> I found limit rate directive but this  limits only per client.  I need
> something which can guarantee to keep me under 100 mbits because over
> this value i have to pay a bit to much.
>   
Hello,

you should maybe disable the "gigabit" on your network card, in Fast 
Ethernet you will never have this problem.
At work we use "ethtool" (under Linux) to change speed of the network card.

If you use Linux you can limit the traffic with "iptables" too.

Olivier





More information about the nginx mailing list