Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about limit_traffic_rate module #7

Open
slobo42 opened this issue Jan 6, 2016 · 0 comments
Open

Question about limit_traffic_rate module #7

slobo42 opened this issue Jan 6, 2016 · 0 comments

Comments

@slobo42
Copy link

slobo42 commented Jan 6, 2016

Hi,

I just installed a fresh new version of Nginx (v1.8.0) with limit_traffic_rate module.

I am using the module inside a proxy_pass section.
When I am using a wget client on the same server the rate limitation is perfect (2Mbps in my case), but when I am using another application like VLC (I don't know if it is multi-threaded or not) the traffic can jump to 8 Mbps from time to time.

So I am wondering if this could be caused by a bug (chat I don't think) or by the rate limitation computation. Let me explain my thought : sometimes the bitrate can go very low (50Kbps) so if the computation algorithm makes an average over a certain period of time it could let the same IP go very high for a certain period of time so that the global average does not go over the 250Kbps mentioned above.

So my question is : is the limit_traffic_rate is an upper limit in any case or an upper limit over a certain period of time (eg since the connection has been initiated by the end-user) ?

I hope I made it clear.

Anyway thanks for the great job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant