Mysql overload - several eZp site on a server ?

Author Message

laurent le cadet

Friday 12 May 2006 5:29:52 am

Hi,

I have about 20 site running on the same server.
This server is Intel(R) Xeon(TM) CPU 2.40GHz 2388.566 MHz with 2Go RAM.

Actually I have to faced a regular Mysql High Threads :

Uptime: 92063
Threads: 146
Questions: 1429589
Slow queries: 3
Opens: 92752
Flush tables: 1
Open tables: 64
Queries per second avg: 15.528

The threads curve grows up regulary (sometime till crash) a go down abruptly.

Is there a fine tunning I messed ?

Regards.

Laurent.

Karl Latiss

Sunday 14 May 2006 12:32:39 am

You will find a good performance increase when separating out your web and database servers. One of my web servers (2 x 3 GHz Xeon) has 50 - 60 eZ sites with load at around 1.0. A separate database server is under not much load and so could handle another web server without too much trouble.

Atvert Systems
http://www.atvert.com.au

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 18 2025 19:12:56
Script start
Timing: Jan 18 2025 19:12:56
Module start 'layout'
Timing: Jan 18 2025 19:12:56
Module start 'content'
Timing: Jan 18 2025 19:12:56
Module end 'content'
Timing: Jan 18 2025 19:12:56
Script end

Main resources:

Total runtime0.5521 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0469152.6406
Module start 'layout' 0.00550.0025 740.687539.4766
Module start 'content' 0.00800.5423 780.1641521.9844
Module end 'content' 0.55030.0018 1,302.14848.1250
Script end 0.5521  1,310.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6232160.0002
Check MTime0.00130.2376160.0001
Mysql Total
Database connection0.00080.153610.0008
Mysqli_queries0.509892.3251540.0094
Looping result0.00050.0871520.0000
Template Total0.526195.320.2630
Template load0.00180.322220.0009
Template processing0.524394.950620.2621
Template load and register function0.00010.022810.0001
states
state_id_array0.00110.201010.0011
state_identifier_array0.00080.147920.0004
Override
Cache load0.00140.2610220.0001
Sytem overhead
Fetch class attribute can translate value0.00120.212820.0006
Fetch class attribute name0.00090.170430.0003
XML
Image XML parsing0.00060.107220.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00070.1246160.0000
String conversion0.00000.001140.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs