I have been getting the following from my new web host since Friday...
Your site has been identified as exceeding the allotted CPU cycles per your current hosting plan.
To accommodate the increased CPU cycles requirement, we are now serving your site using our special pool of servers reserved for such spikes. If this spike in CPU cycles continues for an extended period, your site may encounter an error.
Your current resource utilization was recorded at: 22 %.
The utilization has been hovering at between 19% and 25%. According to their help site...
Resource utilization is impacted by several factors such as:
Increased traffic to your site (excluding static websites).
Sometimes the introduction of a new script on your site.
I had installed Dizkus and Bad Behaviour but I disabled and deleted them both but there has been no change. Is there any way to figure out what's causing it? I have used Medicula to clean up the database.
Now I do have the option of upgrading my plan with my host so that's always a possibility.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
CPU Usage?
-
-
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 511
Looking at your site I would say, all those uncached blocks at the home page are most likely the reason (News and Postcalender). Please check your caching settings in Admin/pnRender and Admin/Theme, and also consider to reduce the amount of blocks you use. Also, check your OpenX caching settings.
Greetings,
Chris
--
an operating system must operate
development is life
my repo -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
I've set the cache to 3600 seconds in both PNRender and Themes Manager. I also have "Enable CSS/JS combination" and "Use 'trimwhitespace' output filter" enabled in Themes Manager.
What about some of the options in PNRender? For example, I don't have "Embed template information within comments inside the source code of pages" enabled or any of the Compilation Settings.
In OpenX, I changed the Banner Delivery Cache Settings to 3600 seconds as well. Under Banner Delivery Cache Store Type have the options of choosing "file based cache" or "Memcached".
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
Nope. It's still running too high I guess. I just got an e-mail saying that it was running at 19%. I'm also getting a "nocache" message under the title of the article. I have enabled both Compilation Settings so we'll see what happens.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Feb 07, 2003
- Last visit: May 31, 2010
- Posts: 404
I'm guessing, but it might be all those OpenX javascripts. When I was looking for a banner manager I saw that OpenX had a way to ease server load by doing all its business with one call.
I ended up not going with OpenX BTW, I use Robert Gasch's banner module that's native to Zikula. It's currently working on KamloopsCity.com -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
I found the information on how to do the single call and we'll see how that works.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Team Member
- Registered: Mar 15, 2004
- Last visit: May 26, 2010
- Posts: 112
OpenX also offer a free hosted solution, so you don't need to have the files on your own server.
http://www.openx.org/ad-server -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
A very good idea that I will look into. Thanks
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
So moving the ads to OpenX's servers apparently had no effect. I'm still getting messages from my host saying that the resource utilization is too high.
I did figure out what was causing the nocache message to appear. When I disabled the cache in PnRender and cleared the cache it went away.
So currently, under PnRender, I don't have anything enabled. Under Themes > Settings, caching is enabed and set at 3600 seconds. I "Enable JS/CSS combination" enabled but not "Use compression" or "minify CSS". I also enabled "Use 'trimwhitespace' output filter".
I have 6 blocks (7 if you count News in the centre column) enabled, 3 of which are menus.
Any other suggestions as to what I could do to reduce my resource usage?
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
OK, this is funny/bizarre... I get e-mails from my web host automatically every two hours if the resource utilization on my site is too high. I leave the site alone and don't post anything and I don't get any e-mails for 6 hours or so. I post one article and I get an e-mail saying the resource utilization is too high again.
Just out of curiosity, would drop down menus help reduce the resource utilization on my site? I was thinking about doing that anyway.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 511
Your settings are fine. Can you give us some numbers about the traffic you receive, and also about the ressource limits your host is putting on you? This might help us to stop guessing, and find solutions.
Greetings,
Chris
--
an operating system must operate
development is life
my repo -
- Rank: Team Member
- Registered: Mar 15, 2004
- Last visit: May 26, 2010
- Posts: 112
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
I'm using NetFirms and over the past week I had an average of about about 1000 total visitors/day, about 600 unique visitors/day, and Bandwidth usage of 2,367.79 MB.
For my hosting plan, I have the "Business" plan and the Resource Limits (% of CPU) is 18%. So I'm just barely exceeding the limit for my plan. With my hosting plan I have 300GB of storage and 3000GB bandwidth.
The next plan us is the "Enterprise 1" plan which has the limit set at 50% but I'd like to hold off upgrading my plan, simply because it costs more.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 511
A Zikula site like yours, with the traffic you have, should have no problem at all with CPU usage on a serious host in the $ 10.00 price range. I think the "problem" is mostly the cluster solution your hoster is using, together with strange CPU restrictions he has put there.
Well, looks like you already hit the CPU limits of your hosting plan, and will hit the Bandwith limit shortly, too. It seems that your hoster does not offer anything between "business" and "enterprise 1", which will cost $ 50.00 instead of the $ 10.00 you pay now. So, if there is no plan between, I would consider a switch to another host.
Greetings,
Chris
Edited by slam on Oct 11, 2010 - 10:47 AM.
--
an operating system must operate
development is life
my repo -
- Rank: Softmore
- Registered: Jul 10, 2006
- Posts: 315
I was hoping it wouldn't come to that. I'll talk to my host and see if we can come up with a solution that puts me somewhere in between.
Thanks for all your help everyone
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other
- Moderated by:
- Support
