Skip to content

IIS 中针对单个网站限速无效 #124

@Dream4ever

Description

@Dream4ever

解决过程

  • 操作系统:Windows Server 2012 R2
  • IIS 版本:8.5

在 IIS 管理器中,限制单个网站的带宽用量不超过 1,000,000 字节,结果发现还是跑满了 50M 带宽。

后来发现 IIS 中的单位是字节,而带宽的单位是比特。

如果要限制单个网站的带宽用量为 10Mbit 每秒,对应的字节则应为 10 * 1024 * 1024 / 8 = 1310720 。

在 IIS 管理器中设置为 1310720 这个值之后,带宽限制果然生效了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    ServerThe invisible hero

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions