Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 11-29-2007, 12:02 AM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default What can cause CPU over usage?

Am very worried about my site overusing the CPU, but I have no real idea what can cause it, I searched though many posts on the matter and understand the basics, but I still couldn't really find a real answer on the matter.

The site I have, only gets about 100 or so visitors per day, which is fine, because the site supports a small gaming community with gaming files, like maps, skins, files of that sort, they are only a few mb in size, though the site does have a few files that are bigger, but due to their size and nature they are not downloaded as much.

The site itself is very simple, nothing fancy, just clean open pages with a few images about.

CPU usage has never really been on my mind when we was with the old host, but I did check it in the days before we moved here, the cpu useage when I checked would be very low, 0.1% to 1.5% or so.

Am at a point, where am scared of logging onto the cpan, website, ftp or anything else connected with the website for too long just incase I add to the load in my everyday workings on the site.

Last edited by IronWarrior; 11-29-2007 at 12:16 AM.
Reply With Quote
  #2  
Old 11-29-2007, 02:02 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

As you may have discovered by searching, your usage becomes "too much" when it affects other accounts on the same server.

You could get a rough idea by performing an action in one window, and while it is running, opening cPanel in another and clicking the link for server status in the lefthand column.
Reply With Quote
  #3  
Old 11-29-2007, 06:13 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by gwyneth View Post
As you may have discovered by searching, your usage becomes "too much" when it affects other accounts on the same server.

You could get a rough idea by performing an action in one window, and while it is running, opening cPanel in another and clicking the link for server status in the lefthand column.
I don't have the server status option in my cPanel, from the the other topics that I have seen, this option is not installed on shared box's.

My old host did, but that was on a dedicated box.
__________________

Reply With Quote
  #4  
Old 11-29-2007, 07:33 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

Look in the lower side of the left hand column. Among the rows of small type that gives you version information are several words that are in different colored type. One of them should lead to server status.
Reply With Quote
  #5  
Old 11-29-2007, 07:44 PM
gtgeorge's Avatar
gtgeorge gtgeorge is offline
Emperor Croc
 
Join Date: Mar 2005
Posts: 2,223
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by IronWarrior View Post
I don't have the server status option in my cPanel, from the the other topics that I have seen, this option is not installed on shared box's.

My old host did, but that was on a dedicated box.
When looking on a couple servers I had access too, the server status is not available for HG customers not on a dedicated account. WHM still provides the info for resellers though
__________________
best regards,
George
Reply With Quote
  #6  
Old 11-29-2007, 07:47 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

I understand you are trying to help, but it is not there.
__________________

Reply With Quote
  #7  
Old 11-29-2007, 07:49 PM
YukonMaster YukonMaster is offline
Swamp Croc
 
Join Date: May 2007
Location: Vancouver
Posts: 351
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by gtgeorge View Post
When looking on a couple servers I had access too, the server status is not available for HG customers not on a dedicated account. WHM still provides the info for resellers though
I had 4 different shared accounts over a while, and all of them had access.
Reply With Quote
  #8  
Old 11-29-2007, 08:19 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

I just took this screen shot of the cPanel on our old shared account--which has no connection to our dedi. It is a normal Swamp account.


Last edited by gwyneth; 11-29-2007 at 08:29 PM.
Reply With Quote
  #9  
Old 11-29-2007, 08:44 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: What can cause CPU over usage?

That's not enabled on all the shared servers.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #10  
Old 11-29-2007, 08:49 PM
YukonMaster YukonMaster is offline
Swamp Croc
 
Join Date: May 2007
Location: Vancouver
Posts: 351
Default Re: What can cause CPU over usage?

Just ask Live Chat to get that enabled for you.
Reply With Quote
  #11  
Old 11-29-2007, 09:29 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

Blah, just did, the tech said he didn't have access where he was, so have to send an email. ^^

One question, wouldn't having this option enabled, use the CPU more?
__________________

Reply With Quote
  #12  
Old 11-29-2007, 09:34 PM
YukonMaster YukonMaster is offline
Swamp Croc
 
Join Date: May 2007
Location: Vancouver
Posts: 351
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by IronWarrior View Post
Blah, just did, the tech said he didn't have access where he was, so have to send an email. ^^

One question, wouldn't having this option enabled, use the CPU more?
No, it would be enabled server wide so it wouldn't have anything to do with you.
Reply With Quote
  #13  
Old 11-29-2007, 09:40 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by YukonMaster View Post
No, it would be enabled server wide so it wouldn't have anything to do with you.
Oh cool, I only ask because when I was researching the other topics on the subject, I gathered that it might.
__________________

Reply With Quote
  #14  
Old 11-29-2007, 10:05 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: What can cause CPU over usage?

You don't have to be *that* crazy about it...logging into cPanel, logging into FTP etc... isn't going to jump the CPU.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #15  
Old 11-29-2007, 10:32 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by slapshotw View Post
You don't have to be *that* crazy about it...logging into cPanel, logging into FTP etc... isn't going to jump the CPU.
Well I hope not, this is my first time hosting an website. ^^
__________________

Reply With Quote
  #16  
Old 11-29-2007, 11:27 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by IronWarrior View Post
Oh cool, I only ask because when I was researching the other topics on the subject, I gathered that it [the server status screen]might.
Happily, in this case Heisenberg's Uncertainty Principle doesn't apply.
Reply With Quote
  #17  
Old 11-29-2007, 11:31 PM
Robert Paulson Robert Paulson is offline
Junior Croc
 
Join Date: Nov 2007
Posts: 123
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by slapshotw View Post
That's not enabled on all the shared servers.
Why not?

And is it as simple as just requesting it? I am concerned about this, too. I am extremely satisfied with the service here, and I don't want to push my limit unknowingly.
Reply With Quote
  #18  
Old 11-29-2007, 11:57 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: What can cause CPU over usage?

Request it to support. The worst thing that can happen is they say no.

Just ask them for a server status view in cPanel like some of the other HG shared servers have.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #19  
Old 11-30-2007, 01:55 AM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by slapshotw View Post
Request it to support. The worst thing that can happen is they say no.

Just ask them for a server status view in cPanel like some of the other HG shared servers have.
So some shared accounts don't have "General Server Information"? Or is it that their "General Server Information" doesn't include "Click for server status"?

Our account with it dates from summer 2006, and of course I assumed everyone had it--very handy. Especially the PHP and MySQL versions, which I must have logged in just to see at least a few dozen times last year.

Could this be a cPanel skin thing? I just checked the cPanel demo on HG's sales page --it is also 'X' theme, and the "General Server Information" is right there.

Last edited by gwyneth; 11-30-2007 at 02:01 AM.
Reply With Quote
  #20  
Old 11-30-2007, 03:46 AM
gtgeorge's Avatar
gtgeorge gtgeorge is offline
Emperor Croc
 
Join Date: Mar 2005
Posts: 2,223
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by gwyneth View Post
So some shared accounts don't have "General Server Information"? Or is it that their "General Server Information" doesn't include "Click for server status"?

Our account with it dates from summer 2006, and of course I assumed everyone had it--very handy. Especially the PHP and MySQL versions, which I must have logged in just to see at least a few dozen times last year.

Could this be a cPanel skin thing? I just checked the cPanel demo on HG's sales page --it is also 'X' theme, and the "General Server Information" is right there.
I actually wondered it too and typed in the proper address that should have pulled up the server status with or without a link and found a 404 error~ So I doubt it will get enabled for those that don't have it. Just my opinion though. I like to look things over whenever I have access to one of HG's servers
__________________
best regards,
George
Reply With Quote
  #21  
Old 11-30-2007, 12:17 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by gtgeorge View Post
I actually wondered it too and typed in the proper address that should have pulled up the server status with or without a link and found a 404 error~ So I doubt it will get enabled for those that don't have it. Just my opinion though. I like to look things over whenever I have access to one of HG's servers
I'd think you would get that error without a user name and password to trigger the cPanel-based script.

When I tried switching skins on the HG cPanel demo--from X to one of the others--I got a "Firefox has detected that the server will never finish this request" (same as on at least one of the accounts I created on our dedi, but that's a different story).

OP or anybody, does your cPanel have a small selector box in the upper right below the banner? If it does, and it doesn't say X but something like 3x, try switching to X--probably the first choice. That would tell us if it's just a cPanel skin/theme issue--the options are way different between them.
Reply With Quote
  #22  
Old 11-30-2007, 12:56 PM
ghpk ghpk is offline
King Croc
 
Join Date: Nov 2006
Posts: 1,245
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by IronWarrior View Post
Am very worried about my site overusing the CPU, but I have no real idea what can cause it,
But i wonder how come you can say you are over-using.
Only the server owners can see if a user is using too much cpu/ram.

I think you should ask support to check if you are near or hitting the CPU limits imposed by TOS.
Reply With Quote
  #23  
Old 11-30-2007, 06:21 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: What can cause CPU over usage?

It's in feature manager for the root user: Server Status Viewer. They enable or disable it.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #24  
Old 11-30-2007, 06:58 PM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,498
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by IronWarrior View Post
Am very worried about my site overusing the CPU, but I have no real idea what can cause it, I searched though many posts on the matter and understand the basics, but I still couldn't really find a real answer on the matter.

The site I have, only gets about 100 or so visitors per day, which is fine, because the site supports a small gaming community with gaming files, like maps, skins, files of that sort, they are only a few mb in size, though the site does have a few files that are bigger, but due to their size and nature they are not downloaded as much.
don't avoid using your control panel and other site features over cpu paranoia. you won't "push yourself over the cpu limit" by normal site activity.

for a site like yours, you're not going to even touch cpu iisues unless you've got an ill-behaved bot that visits your site, install a katrillion hacks for your forums, have a script that runs amok, or something like along those lines.

if there is a concern, hg will notify you and they work with you to get the problem solved. worry less, play more.
Reply With Quote
  #25  
Old 11-30-2007, 08:16 PM
IronWarrior's Avatar
IronWarrior IronWarrior is offline
Junior Croc
 
Join Date: Nov 2007
Location: England UK
Posts: 164
Default Re: What can cause CPU over usage?

Quote:
Originally Posted by Goddess Dix View Post
don't avoid using your control panel and other site features over cpu paranoia. you won't "push yourself over the cpu limit" by normal site activity.

for a site like yours, you're not going to even touch cpu iisues unless you've got an ill-behaved bot that visits your site, install a katrillion hacks for your forums, have a script that runs amok, or something like along those lines.

if there is a concern, hg will notify you and they work with you to get the problem solved. worry less, play more.
Thank you for your reply, was hoping that you would reply, from what I have seen you seem to know your stuff.


Well I asked HQ about having the option turned on, they said no. ^^
__________________

Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:04 AM.