10 :Date: $Date: 2004/11/03 22:26:05 $
11 :Revision: $Revision: 1.2 $
14 limiting bandwidth usage
17 :keywords: lighttpd, bandwidth limit, traffic shaping
19 .. contents:: Table of Contents
24 Starting with 1.3.8, lighttpd supports limiting the bandwidth for
25 a single connection or config context like a virtual host or a URL.
30 :connection.kbytes-per-second:
31 limit the throughput for each single connection to the given
36 :server.kbytes-per-second:
37 limit the throughput for all connections to the given limit
40 if you want to specify a limit for a special virtual server
43 $HTTP["host"] == "www.example.org" {
44 server.kbytes-per-second = 128
47 which will override the default for this host.
54 Keep in mind that a limit below 32kb/s might actually limit the traffic to 32kb/s. This
55 is caused by the size of the TCP send buffer.