Very slow admin interface

Author Message

Pascal France

Saturday 11 April 2009 11:37:37 am

Hi,

I face with a very slow admin interface (about 35 seconds each time I click on a content tree's node).

The debug output can be seen here:
http://linuxorable.fr/tmp/realy_slow_admin_inerface.png
and the end of this screenshot ends with this table of statistics:
http://linuxorable.fr/tmp/realy_slow_admin_inerface_2.png

Is there someone who can explain me what means the debug output messages ?

I use eZ Publish 3.9.4, MySQL 5.0.32, PHP 4.4.4 and apache 2.2.3

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Damien Pobel

Sunday 12 April 2009 2:41:34 pm

Hi Pascal,

682 MySQL queries ! It seems that caches are disabled, you should check the following settings in site.ini (use /settings/view in your admin interface) :
* [ContentSettings]/ViewCaching
* [TemplateSettings]/TemplateCompile
* [TemplateSettings]/TemplateCache

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

André R.

Sunday 12 April 2009 3:43:00 pm

and changing your settings to something like

[TemplateSettings]
Debug=disabled
ShowXHTMLCode=disabled
# better to use this to see witch templates are used then the ones above, but disable in production
ShowUsedTemplates=enabled
TemplateCompile=enabled
TemplateCache=enabled
# enable during development, makes the code check modified time on templates (clear compiled cache when you change this!)
DevelopmentMode=disabled

And install ezjaxx or any other ajax content structure menu extension.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 00:23:30
Script start
Timing: Jan 19 2025 00:23:30
Module start 'layout'
Timing: Jan 19 2025 00:23:30
Module start 'content'
Timing: Jan 19 2025 00:23:30
Module end 'content'
Timing: Jan 19 2025 00:23:30
Script end

Main resources:

Total runtime0.5663 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.0156152.6250
Module start 'layout' 0.00490.0029 740.640639.4453
Module start 'content' 0.00780.5572 780.0859584.5938
Module end 'content' 0.56490.0014 1,364.679712.1641
Script end 0.5663  1,376.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5716160.0002
Check MTime0.00130.2371160.0001
Mysql Total
Database connection0.00060.099110.0006
Mysqli_queries0.514390.8063590.0087
Looping result0.00080.1473570.0000
Template Total0.537794.920.2689
Template load0.00210.366620.0010
Template processing0.535694.579320.2678
Template load and register function0.00020.033410.0002
states
state_id_array0.00100.168310.0010
state_identifier_array0.00080.138820.0004
Override
Cache load0.00190.3311250.0001
Sytem overhead
Fetch class attribute can translate value0.00170.297030.0006
Fetch class attribute name0.00160.274950.0003
XML
Image XML parsing0.00110.191730.0004
class_abstraction
Instantiating content class attribute0.00000.002350.0000
General
dbfile0.00100.1736230.0000
String conversion0.00000.001640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs