Project

General

Profile

[Invalid] Feature Request: Bandwidth exceeded

Added by ryan14 over 14 years ago

Lighttpd should have a feature where the admin can set the maximum incoming/outgoing bandwidth(http/https/ftp, etc) that Lighttpd can use per month(30 days). The admin can choose what will happen when Lighttpd reaches the monthly bandwidth limit, like to display a "bandwidth exceeded" page OR an option to automatically shutdown the CentOS/Ubuntu/etc server.
The date/time can be retrieved from the CentOS/Ubuntu/etc clock, so the admin can choose what date/time the month starts at. There should be an option to keep the monthly bandwidth logs on the server.

So for example, if a person chooses a 10000GB(10TB) monthly bandwidth limit, Lighttpd will either display a 'bandwidth exceeded' html page OR shutdown the server(whatever the admin chooses) when the bandwidth limit is reached.


Replies (7)

RE: Feature Request: Bandwidth exceeded - Added by nitrox over 14 years ago

Limit the bandwidth to 4M/s. Its not really a webservers job to do its own accounting and take care of how much traffic left and alike, what if a restart occurs, you would need alot of logic just to make sure its not exceeding bw. Why not use iptables? its made for things like this.

RE: Feature Request: Bandwidth exceeded - Added by ryan14 over 14 years ago

Is this the feature i'm looking for:

http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:TrafficShaping

How do i limit my whole server's incoming and outgoing bandwidth to 10Mbps?

RE: Feature Request: Bandwidth exceeded - Added by icy over 14 years ago

Lighty also does not do FTP. What you want is some full fledged hosting application.

RE: Feature Request: Bandwidth exceeded - Added by ryan14 over 14 years ago

icy wrote:

Lighty also does not do FTP. What you want is some full fledged hosting application.

so is lighty's traffic shaping feature only for http? Does it include https?

RE: Feature Request: Bandwidth exceeded - Added by nitrox over 14 years ago

Yes, all traffic included.

RE: Feature Request: Bandwidth exceeded - Added by ryan14 over 14 years ago

What does 'all traffic' mean? is that only http/https? any more traffic?

RE: Feature Request: Bandwidth exceeded - Added by nitrox over 14 years ago

I think we´ll stop it here.

    (1-7/7)