Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

CPU and Memory Usage Spike Caused by 3.5.2


  #1  
Old Jul 20, 2010, 08:39 PM
Diondeville
 
9 posts · Jul 2010
I left a comment under the theme release about this but as it's not appeared I can only assume it's not been received. So here goes again:

I installed 3.5.2 today and my blog's CPU usage jumped above 37% and its memory usage above 5% (I think it hit 11% at one point). I tried the theme on a few more servers and they all showed massive CPU and memory usage. Everything returned to normal once I reverted to version 3.5.1. My question is, has this issue been fixed in version 3.5.3?

Call me fussy but I don't want to be responsible for my clients having their server accounts suspended. Until I know the bug has been fixed I will advise my clients to stick with version 3.5.1; which is a shame because Atahualpa is a great alternative to Suffusion - one has square looks, the other has rounded looks.
  #2  
Old Jul 20, 2010, 09:15 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
How are you measuring memory usage?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jul 21, 2010, 04:12 AM
Diondeville
 
9 posts · Jul 2010
All sites I tested it on used servers provided by Hostgator. Their HG theme provides a refreshable CPU and Memory usage meter. I used that meter, with several refreshes, to check CPU and memory usage. Plus I looked at the running processors. On each occasion the process with the highest usage was index.php (WordPress). That process was not a lone runner - for some reason the theme prevented plugins from quitting or the high CPU usage prevented them from quitting. I can't recall which plugins it interfered with but I believe they were different ones at different times.

The only reason I noticed the problem is that one of the tested sites had its CPU usage so high that it was unable to load (Received the Apache server error that's usually accompanies the suspension of WordPress's index.php).
  #4  
Old Jul 21, 2010, 06:16 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
There was a bug in 3.5.2 that caused problems with earlier versions of WP and I only had it installed on one site for a couple of days with no issues. I would be curious to hear if 3.5.3 does the same thing your 3.5.2 installs on your Hostgator sites.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Jul 21, 2010, 07:03 AM
Diondeville
 
9 posts · Jul 2010
All sites were WP 3 MS. I'll try 3.5.3 later today and post the result here.
  #6  
Old Jul 21, 2010, 11:28 AM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
please install the WP-Memory-Usage plugin and look at the usage in the dashboard with both versions
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jul 21, 2010, 12:43 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I installed the memory usage plugin on a site running 3.5.3 and WP 3.0 and got this:

  • PHP Version : 5.2.13 / 32Bit OS
  • Memory limit : 64 MByte
  • Memory usage : 25.08 MByte
And a bar showing 39%.

I don't know how to interpret this, however. And there isn't any information on the developer's site about how to read the results.
  #8  
Old Jul 21, 2010, 01:01 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Paula can you switch to 3.5.1 and see if there is a change?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Jul 21, 2010, 01:08 PM
Diondeville
 
9 posts · Jul 2010
Juggledad, I can't risk taking the time to activate the 3.5.3 version and checking the memory usage plugin. If any of my sites get suspended then fair enough, I can explain the circumstances and have them unsuspended within a few hours but if one of my client's sites is suspended then I risk a lot more than a few blog readers. Looking at Paulae's reply it seems the problem still exists.

I've checked the error log for the site on my server that I activated the theme and it shows nothing pertaining to the theme.

Ignore this bit below here. It was the first part of this comment - read my next comment to see why:

Paulae, if you're on a shared server be aware that you account could be suspended for overuse of memory usage.

With Hostgator, if either memory or CPU usage is consistently above 25% for longer than 90 seconds at a time they suspend (forcefully stop) any offending script. With WordPress this invariably means index.php is suspended; and without that your site will not be browsable.

Last edited by Diondeville; Jul 21, 2010 at 01:45 PM. Reason: For correction.
  #10  
Old Jul 21, 2010, 01:28 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I just disabled almost all plugins and activated the 2010 theme with these results.
  • Memory limit : 64 MByte
  • Memory usage : 25.08 MByte
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Jul 21, 2010, 01:43 PM
Diondeville
 
9 posts · Jul 2010
I took the plunge and tested 3.5.3.

Here re the results...

Pre activation of 3.5.3:

Hostgator provided resource usage monitors:

CPU: 0.3%
Memory: 0.1%

WP-Mem provided resource usage monitors:

Memory limit: 64 MByte
Memory usage: 27.92 MByte
Bar Reading: 44%
Post activation of 3.5.3:
Hostgator provided resource usage monitors:

CPU: 0.3%
Memory: 0.1%

WP-Mem provided resource usage monitors:

Memory limit: 64 MByte
Memory usage: 27.97 MByte
Bar Reading: 44%
It looks like the bug's been fixed in version 3.5.3.

Paulae, I was mistaken. I apologize for frightening you
  #12  
Old Jul 21, 2010, 03:12 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
there is very little diffenence from 3.5.1 to 3.5.3, mainly the patches were applied and an if statement surrounding the new menu stuff so pre WP 3 could run it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 21, 2010 at 06:18 PM.
  #13  
Old Jul 21, 2010, 05:16 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
JD, I tried it on another site (can't risk a problem right now with the Gazette):

aghca.org

With 3.5.1:

usage: 21.43 mbyte
bar: 33%

With 3.5.3:

usage; 21.46
bar: 34%

This site it hosted at hostgator.com as is the Gazette.
  #14  
Old Jul 21, 2010, 05:21 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
That amount of change doesn't seem to me to indicate a big jump in memory and CPU utilization.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #15  
Old Jul 21, 2010, 06:16 PM
Diondeville
 
9 posts · Jul 2010
I think the problem must just be a quirk within 3.5.2.
  #16  
Old Jul 21, 2010, 06:49 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The big memory/CPU issue might be when the number of concurrent users goes up. There are some blog reports on performance that make interesting reading at http://loadimpact.com/blog/load-testing-wordpress
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #17  
Old Jul 22, 2010, 06:52 AM
Diondeville
 
9 posts · Jul 2010
Hi Juggledad, I'm not sure that that's the reason. The site I tested 3.5.2 with on my own server receives only a hundred or so visitors per day (the whole multi site receives about the same - it's a new domain), one of the other sites on a different server receives about 1,800 visitors per day (multi site wide, >4,000 <5,000 - old domain). It must have been an unintended consequence of a fix to 3.5.2 that removed the fault from 3.5.3.

Thank for pointing out that link, it'll make interesting reading.

Bookmarks

Tags
bug, cpu spike, excessive cpu usage, excessive memory usage, memory spike

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of Queries and CPU Usage getting worse with each version extremecarver New Versions, & Updating 20 May 5, 2010 09:12 AM
Error: Exhausted Memory Size of Page Mande Center area post/pages 1 Jan 29, 2010 10:35 AM
Usage of Affiliate Link Cloakers Nefeli Atahualpa 3 Wordpress theme 1 Feb 26, 2009 06:22 PM
Fatal error: Allowed memory size ver3.1 aliferste Atahualpa 3 Wordpress theme 2 Dec 20, 2008 03:03 AM


All times are GMT -6. The time now is 01:48 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.