ixwebhosting 500错误或者CPU超标被停的解决方法
ixwebhosting刚用两天,先是wordpress 后台500错误, 后来说CPU超标了, 说实话, 买个这产品就没准备它能有多高CPU, 搜索了下网络, 一下是一些解决办法.
1. 一般在默认设置下, 你的网站是不会超标的, 因为默认情况下, 每个网站都对内存限制住了. CPU还没超标, 你的内存就先超标. 内存超标不会停止你的网站, 但会显示500错误. 一般情况下, 你装几个wordpress的插件, 你就铁定内存超标了, 一般表现是wordpress 后台500错误. 解决办法很简单, 和他们客服聊一下. 直接说 wordpress 500, 他们就知道你要干什么了. 一般来说, 他们会给你放宽内存限制, 但是这个时候, 你就要小心CPU超标了.
2. 我的一个几乎没有人访问的网站竟然说我CPU超标了, 估计就是插件闹的. 问他们的 CPU使用率限制多少,他们也说不知道,但我估计最多是5%;有网上说是20%,这都太大不可能是这个数,而且用到20%这个数的CPU使用率那是相当的 惊人,他们一个主机要挂几百个站,这个使用率是不可能的;如果你超标了, 会收到一份电子邮件, 打开后主题是 ToS Violation – Web server overload, 以下是部分内容, 他们处理办法就是把主文件权限变为700
Issue properties:
Issue Type: Technical
Affected Product: Hosting ID #814799: Unlimited Pro
Affected Domain: rusuv.com
Issue Category: Terms of Service Violation – Shared Hosting
Problem Code: Terms of Service Violation – Fair Use
Details given:
We are notifying you that your account, or a portion or feature of your account has caused an overload on one of our servers. We have a shared hosting environment that we must maintain at a certain level of performance. This performance is monitored and balanced by us, however there are times when accounts can cause the server’s load to increase degrading the performance for all other customers on this server.To protect your account from further action you must agree to our request for compliance. Please respond to this message stating your intent to do so. You may either log into your control panel with us, and access this ticket via the 24/7 help desk, or provide this ticket number to our Live Chat or phone representatives.
Failure to respond to this message within 72 hours will result in the suspension of the affected domain with us until such a time as this matter is resolved.
/hsphere/local/home/c361710/youdomain.com/ folder has been chmoded to 700 due t oexcessive CPU usage.
Examples:
3. 这时候又要去聊天了. ixwebhosting的克服反应非常及时, 很少要你等的. 但是在说明问题后, 他们就要你keep online 然后再等.
4. 其实自己也可以通过限制流量的措施,从而达到不超CPU。 一下网上的一个办法
进入控制面板,地址:https://manage.ixwebhosting.com
进入后,依次点击左边栏的 My Products , Hosting Products ,在右边栏中,点击主机产品的”manage”按钮,进入主机的管理页面;
进入后,在Main这一选项中,选择“web options” ,点击进入;
PS:如果你添加了多个域名,会显示域名列表,选择要修改的那个域名,点击进入即可。
进入后,拉动上下滚动条到下面,会看到“Throttle Policy”,这个默认是关闭的,现在点击后面的off按钮,打开它;
点击off按钮之后,会打开一个页面,在右侧会有很多选项让你选择,(会在ixwebhosting流量控制参数专门详细介绍),下面我们以request为例,选择 它,点击”submit”按钮提交;
提交后,会打开一个新的页面,
在Maximum mumber of requests 后面的文本框里输入最大的允许请求数,比如50
在Time interval 后面的文本框里输入时间间隔,比如说5,
后面的下拉菜单里面有:sec (秒) minutes (分) hours(小时) days(天)weeks(星期) ,我们选择sec
就是说在5秒钟内最多允许50次的请求。
根据需要选择填选好后,点submit按钮提交即可。








