Virmach主机Vir的VPS超过限制CPU占用怎么限制,vir限制规则?-收到VIR的邮件,说一台VIR超过限制,才发现VIR的限制很是严格,除了CPU,还限制I/O读写。 VirMach是美国主机商,一直以来提供非常实惠的便宜主机,不过也有不少抱怨的...

谷子猫博客

一个简单爱分享的小站!^_^!
首页>> 网文转载 >>Virmach主机Vir的VPS超过限制CPU占用怎么限制,vir限制规则?

收到VIR的邮件,说一台VIR超过限制,才发现VIR的限制很是严格,除了CPU,还限制I/O读写。

VirMach是美国主机商,一直以来提供非常实惠的便宜主机,不过也有不少抱怨的朋友说自己的VPS被暂停了,自己的VPS被删除了,自己的帐号被删除了等等一些列问题。

其实价格便宜VPS多数都限制非常的严格,特别是大量占用CPU以及IO性能的用户,还有用来发大量垃圾邮件的朋友,一被发现,直接暂停VPS。其实这也就是便宜惹的事,越便宜,入驻的各种折腾都有,体验性差,不太适合建站。特别一些在被暂停之后,没有查找自己的原因,只知道抱怨然而就是争议退款等等。
很多主机商均有自己的tos,对旗下的不同系列的VPS主机做出了相应的限制,比如VirMach的TOS核心规定了:

(1)CPU不能连续5分钟以上突发超过95%,两小时不得高于50%,
(2)限制IO,不能连续10分钟以上超过300,
(3)限制邮件,每小时不超过100封,
所以了解了以上的规定之后,滥用的被暂停了也很正常,即使国内主机商对于滥用的也是清理。其实对于正常的建站,只要不是大量采集、流量不是很高,CPU以及IO性能也占用不了多少;而对于滥发邮件,这个就只有自己把握了哦。

20221220111640.jpg


闪购 和特价款,限制的更加严格,io是80
中秋的 KVM lite cpu只有一半
普通上网能用,折腾会被关机,收到通知没处理的话,机器会被禁用



As you may know, your service is a virtual server that comes with a portion of the physical disks on a server. While you have a dedicated amount of disk allotted to you that you may fully use, we limit the operations on your disk to a fair share. Your service was recently found to be using high levels of I/O.

CAUTION: Please read this message to avoid your service being powered off or suspended.

While we permit you to average around 80 TPS/IOPS, our AUP does not permit constant usage or larger bursts. You must understand that your VPS is a virtual instance running on a physical server with limited amounts of I/O shared across multiple users, which is why we have this policy in place. Your service was found to be using an average of 246.92 transactions per second for multiple hours. If the high usage continues your service may be powered off or suspended.

Please reduce your usage. If you have a Windows VPS then you may follow this guide , please also make sure no intensive processes are running in the background, such as a Windows Update which may sometimes break . The disk is utilized when reading or writing files, which includes excessive web browsing or processing large amount of files. If your servers require using a lot of I/O then you can purchase the High I/O add-on, if available for your plan, this will give you 2x the allowed IOPs of your current plan without upgrading. If you don't think even that upgrade will be enough then you should consider upgrading to a Dedicated Server. We can possibly provide you with a discount if you'd like to switch, please let us know. We can also help you with the migration of your files and data if you choose to go with a dedicated server. Another option available to you is upgrading to a higher plan, for example our SSD4G plan has a very lenient allowance for I/O, much higher than the plans below it.

Based on the usage levels discovered by our system, you can purchase the "enable VDS" addon for your service, to increase your permitted level of disk operations. This addon can be purchased for SSD1G services and above, and would keep you within acceptable levels of usage and would keep you abiding by our Acceptable Usage Policy.

You may purchase the appropriate addon below:
https://virmach.com/manage/cart.php?gid=addons

You may purchase the appropriate addon below:
https://virmach.com/manage/cart.php?gid=addons

You may see our Acceptable Use Policy below:
https://virmach.com/terms-conditions/#tab1

Feel free to contact us if you need assistance in lowering your usage or if you have any questions. We may also have discounts/coupons available if you'd like to upgrade to avoid further issues.

如果收到VIRMACH邮件后,可以通过系统设置读写次数,限制CPU的限制。
以Debian8-9为例,复制代码到系统执行即可,其它系统自行百度一下。

限制CPU使用率
systemctl set-property user.slice CPUQuota=50%
systemctl set-property system.slice CPUQuota=50%


cgroup 限制IO         

cat /proc/partitions
echo "8:0 1048576" > /sys/fs/cgroup/blkio/g1/blkio.throttle.write_bps_device



×

感谢您的支持,我们会一直保持!

扫码支持
请土豪扫码随意打赏

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

打赏作者
版权所有,转载注意明处:谷子博客 » Virmach主机Vir的VPS超过限制CPU占用怎么限制,vir限制规则?
标签: 网络 维护 代码 debian 运营商

发表评论

路人甲

网友评论(0)