【问题标题】:Limit Upload Bandwidth for each user in IIS限制 IIS 中每个用户的上传带宽
【发布时间】:2015-09-17 05:31:52
【问题描述】:

我想限制 IIS 中的上传带宽。我的场景是每个用户只能上传 300kbps。

我在 IIS 中检查了MaxBandwidth,但它限制了用户总数而不是每个用户。 我也检查了Throttling Bandwidth,但它限制了下载带宽。

那么如何限制 IIS 中每个用户或每个文件的上传带宽?

【问题讨论】:

    标签: asp.net iis upload bandwidth bandwidth-throttling


    【解决方案1】:

    我认为您不能在 IIS 中对您的网站的单线程(单连接)施加带宽限制。 相反,您可以使用类似这样的东西来获取最大连接数

       <limits maxBandwidth="65536"
             maxConnections="1024"
             connectionTimeout="00:01:00" />
    

    请查看以下网址:

    http://www.iis.net/configreference/system.applicationhost/sites/site/limits

    要限制上传,请查看以下网址:

    https://support.microsoft.com/en-us/kb/942074

    【讨论】:

    • 感谢您的回复。在我的测试中'maxBandwidth'不限制上传。那么如何在 iis 中限制上传?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-05
    • 1970-01-01
    • 1970-01-01
    • 2021-12-12
    相关资源
    最近更新 更多