<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Why do you want to do this at all? <div class="">What is the real underlying problem that you are attempting to solve?</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 11, 2019, at 8:29 AM, Kostya Velychkovsky <<a href="mailto:velychkovsky@gmail.com" class="">velychkovsky@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I use Linux, and had a bad experience with Linux shaper (native kernel QoS mechanism - tc ), it consumed a lot of CPU and worked unstable. So I rejected the idea to keep using it. <br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 11 нояб. 2019 г. в 15:23, Christos Chatzaras <<a href="mailto:chris@cretaforce.gr" class="">chris@cretaforce.gr</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class="">
> On 11 Nov 2019, at 15:09, Kostya Velychkovsky <<a href="mailto:velychkovsky@gmail.com" target="_blank" class="">velychkovsky@gmail.com</a>> wrote:<br class="">
> <br class="">
> Hello, is it the correct way to limit download/upload speed per client IP,  at the same time ignore how many connections it opens and request rate produced?<br class="">
> <br class="">
> I need just limit bandwidth for example  100 mbit/s per IP, and no matter it opens 1 connection or 100 simulation connections. <br class="">
> <br class="">
<br class="">
Maybe it's better to do this with firewall. For example in FreeBSD this can be done with IPFW + Dummynet.<br class="">
_______________________________________________<br class="">
nginx mailing list<br class="">
<a href="mailto:nginx@nginx.org" target="_blank" class="">nginx@nginx.org</a><br class="">
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank" class="">http://mailman.nginx.org/mailman/listinfo/nginx</a><br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><font size="2" face="monospace, monospace" class=""><b class="">Best Regards </b></font><div class=""><font size="2" face="monospace, monospace" class=""><b class=""><br class=""></b></font></div><div class=""><font size="2" face="monospace, monospace" class=""><b class="">Kostiantyn Velychkovsky </b></font></div></div></div>
_______________________________________________<br class="">nginx mailing list<br class=""><a href="mailto:nginx@nginx.org" class="">nginx@nginx.org</a><br class="">http://mailman.nginx.org/mailman/listinfo/nginx</div></blockquote></div><br class=""></div></body></html>