bluehost CPU限制 是多少 很多想购买bluehost主机的站长都想知道bluehost主机对资源方面的限制。虽然bluehost承诺无限空间、无限流量、无限数据库空间,但是对于网站,这些资源并不是全部的关键资源。其它的关键资源bluehost(包括其它的美国主机商、国内主机商)都没有大张旗鼓的宣传。这些关键资源包括CPU、memory(内存占用)、I/O等。在bluehost的TOS(terms of subscribers,用户购买协议)中并没有明确的给出数值。但是从其它一些侧面的帖子、消息中可以找到答案。
早期,美国主机bluehost的CPU限制是不能超过10%,就会收到警告信,频繁超过超过就会被挂起账户。但是在2009年初,bluehost主机的CPU限制已经放宽了,CPU使用限制从原来的最大10%升到了20%。这个可以从bluehost的老板Matt的博客上得到答案:
“Effective immediately (Actually as of Friday January 25th) we have altered the way we calculate CPU usage. Each user’s cap is now approximately double what we had it set to previously. Many users have complained lately that our cpu quotas were overly restrictive. I believe these changes should reduce the number of people that run into this problem by about 90%.“
大意是bluehost修改了CPU的计算方法,每个用户的CPU上限大致改为原来的2倍。以前许多用户抱怨CPU配额限制太严格。bluehost相信这些改变将至少能减少90%的CPU占用超限的提示。
在2009年7月,bluehost的CPU使用限制进一步得到提升,bluehost的老板matt在博客上写到: "NO MORE CPU QUOTA EXCEEDED ERRORS EVER!!!! (Starting on Tues July 29th 2009) We will be completely removing the code that bans users for CPU overages!! Processes will no longer ever be killed or stopped because of too many cpu resources. Instead, your site will simply bump up against any cpu limits that we put in place. This will work just like a VPS or dedicated server, but without the high cost!“ 大意:再也不会出现CPU超限的错误了,我们将彻底移除CPU限制禁止用户的代码。进程不会再使用过多的cpu资源而被杀死或停止。取而代之的是你的站点可以直接冲击任何的我们所做的cpu限制。这就像使用VPS和专用主机一样,但是没有VPS和专用主机的高费用。
从bluehost老板的博客可以看出,bluehost主机对CPU的限制是大大的放松了,这对喜欢bluehost主机的站长无疑是一个极大的好消息。
但是这个政策并不是意味着用户可以任意的使用bluehost主机的cpu了。这里的意思是bluehost自己掌握了一种有效的CPU管理技术,能够确保正常的账户可以获得足够的cpu资源。这仍然是通过限制cpu耗能大户的使用来做到的。这个技术是bluehost自己拥有版权的一个技术,bluehost称其为CPU限流系统或叫CPU节流系统(CPU Throttling System)。它的工作原理可以参加下面一段话: Throttling means that our proprietary CPU Throttling System has automatically tied your account to its own dedicated core temporarily to keep your account from dominating too much CPU time. Throttling for less than 600 seconds in any given hour will not usually negatively affect your site's performance for visitors. In some extreme cases, our admins may suspend the account until the problem(s) is/are resolved or optimized. 大意:节流的意思是把系统自动把你的帐号绑定到它自己的专用核心上,防止你的账户耗费过多的cpu资源。节流时间少于600秒。在一些极端情况下,管理员才会挂起账户直到(耗费过多cpu的)问题得到解决或优化。
这说明,你的网站不能经常性的占用太多的cpu,否则账户仍将被挂起(注意是挂起,而不是cancel),你只要解决了cpu高消耗问题,网站可重新激活。
不管怎么说,这一点仍然是好消息,对于做正规网站的站长来说。
|