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

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

Closed
Dream4ever opened this issue Jan 8, 2021 · 0 comments
Closed

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

Dream4ever opened this issue Jan 8, 2021 · 0 comments
Labels
Server The invisible hero

Comments

@Dream4ever
Copy link
Owner

解决过程

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

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

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

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

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

@Dream4ever Dream4ever added the Server The invisible hero label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server The invisible hero
Projects
None yet
Development

No branches or pull requests

1 participant