Problems with sudden high load

Author Message

Helle Andersen

Wednesday 10 January 2007 3:07:04 am

We have for the past weeks experienced extremely hight peaks in our CPU usage which we cannot explain. From a normal 2-8 % CPU usage on the database the CPU usage suddenly increases to 50-90% - without more users than ordinarily.
e.g.

Date                  user          idle         hits (otoba)

09:00:01 AM       2.04            96.99	         2685
09:10:01 AM       3.68            95.45	         2981
09:20:01 AM       6.23            92.51	         3771
09:30:01 AM       30.75          65.51	        4518
09:40:01 AM       82.15          10.57	        4573
09:50:01 AM       3.71            94.12	         4696
10:00:01 AM       4.70            94.08	          5801
10:10:01 AM       5.41            93.43	          3992

Restarting MySQL (and sometimes also clearing the entire cache) usually solves the problem.
We run a cluster solution with a powerfull database, 4 front end webservers and two load balancers.
As far as we can se the this CPU usage is not caused by more user traffic, but we cannot see what causes this extremely high load. Anyone else experience similar problems or any ideas ?
Whether or not this is related to another problem we have I do not know: see http://ez.no/community/forum/developer/database_inconsistency_replacement_of_attributes
Helle Andersen

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:07:55
Script start
Timing: Jan 19 2025 01:07:55
Module start 'layout'
Timing: Jan 19 2025 01:07:55
Module start 'content'
Timing: Jan 19 2025 01:07:56
Module end 'content'
Timing: Jan 19 2025 01:07:56
Script end

Main resources:

Total runtime0.7110 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.1563152.6250
Module start 'layout' 0.00790.0030 741.781339.4453
Module start 'content' 0.01090.6988 781.2266403.8750
Module end 'content' 0.70970.0013 1,185.10168.1641
Script end 0.7110  1,193.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4863160.0002
Check MTime0.00140.1905160.0001
Mysql Total
Database connection0.00140.200010.0014
Mysqli_queries0.672994.6384460.0146
Looping result0.00040.0573440.0000
Template Total0.675895.020.3379
Template load0.00230.320720.0011
Template processing0.673594.722320.3367
Template load and register function0.00020.022610.0002
states
state_id_array0.00140.203110.0014
state_identifier_array0.00110.157620.0006
Override
Cache load0.00180.2509110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.076110.0005
Fetch class attribute name0.00050.072110.0005
XML
Image XML parsing0.00010.016910.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.0924100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs