|
|
#1 (permalink) |
|
some girl...
Fresh Surpasser
Joined in Feb 2008
Hosted on SH123
12 posts
Gave thanks: 0
Thanked 0 times
|
[Answered] [Question] CPU Usage
Hi! A quick question before I sign up...I really don't understand what CPU Usage is. Can someone explain it to me please? Also, what's the usage limit for surpass shared hosting? And what can i do to prevent from over-using the cpu?
|
|
|
|
|
|
#2 (permalink) |
|
Surpass Abuse Admin
Super #1
Joined in Mar 2005
Lives in Houston, TX
Hosted on NONE
7,797 posts
Gave thanks: 11
Thanked 278 times
|
This is the limit: About Surpass Hosting
The page does a pretty good job of explaining what it is. As for preventing it, most sites won't cause problems, but if they do we'll do our best to notify you and get you moved over to a dedicated server. There really is no way to specifically prevent going over the CPU usage quota if you've got a high traffic site.
__________________
Unofficial IRC Channel: #surpass EFNetUnofficial = No official support. Support requests can be submitted to our helpdesk. |
|
|
|
|
|
#3 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,087 posts
Gave thanks: 48
Thanked 131 times
|
CPU Usage
Web languages are generally not compiled code. They're intrepreted on the fly by things like PHP, Python, Ruby, etc... This is not only kinda slow (compared to compiled code), but it also requires more CPU. Just think of every PHP include you're doing. Everytime someone loads a page is it essentially recompiling on the fly. The whole thing. To help curb CPU usage you can start caching content in a number of ways. Memcach, fragment caching, or even having your CMS generate new HTML on every update. Any of these can significantly reduce the CPU usage by reducing the amount of times it actually has to generate the whole page. Let's look at a thread on Surmunity. I just found one with 3 replies and 50 views. Simple math shows a difference of 47 times the page was generated, but no content was changed. That's pretty inefficient. removed is mostly right, but if your site is not being served from cache, you can probably get your site from overusing CPU to within the limits by enabling it. If you breach it again, you'll definitely want to look at a dedicated solution -- which would hopefully yield performance gains all around. |
|
|
|
|
|
#4 (permalink) |
|
Operations
Super #1
Joined in Jun 2005
Lives in surpass headquarters
1,028 posts
Gave thanks: 67
Thanked 128 times
|
Heres an older security link/image
http://www.surpasshosting.com/conten...g-security.png Keeping up with security on your account will reduce the chances of violating our RAP
__________________
Mike Surpass Special Operations Last edited by Mike; February 13th, 2008 at 11:41 AM.. Reason: stickied |
|
|
|
|
|
#5 (permalink) |
|
some girl...
Fresh Surpasser
Joined in Feb 2008
Hosted on SH123
12 posts
Gave thanks: 0
Thanked 0 times
|
So if I use a cms instead of having pages with php includes, would it reduce the risk of overusing?
Also, can i set a restriction on my cpu usage just in case if i go overboard? |
|
|
|
|
|
#6 (permalink) | |
|
Surpass Abuse Admin
Super #1
Joined in Mar 2005
Lives in Houston, TX
Hosted on NONE
7,797 posts
Gave thanks: 11
Thanked 278 times
|
Quote:
Nope. cPanel's user accounting system doesn't have a way to limit CPU time per user, so that is not possible at this time.
__________________
Unofficial IRC Channel: #surpass EFNetUnofficial = No official support. Support requests can be submitted to our helpdesk. |
|
|
|
|
|
|
#8 (permalink) |
|
Surpass Abuse Admin
Super #1
Joined in Mar 2005
Lives in Houston, TX
Hosted on NONE
7,797 posts
Gave thanks: 11
Thanked 278 times
|
No problem, happy to help.
![]()
__________________
Unofficial IRC Channel: #surpass EFNetUnofficial = No official support. Support requests can be submitted to our helpdesk. |
|
|
|