eZPublish hangs when template compile is enabled for a siteaccess...

Author Message

Craig Hirsch

Thursday 07 April 2005 2:53:24 pm

Any thoughts as to what might be causing this? When template compile is enabled, Apache and MySQL together chew up 100% CPU for a few minutes, then stop without returning a result to the browser. This happens on every page load.

Clearing caches, etc. does not help.

--
chirsch{AT}gmail{d.t}com

Konrad Mazurkiewicz

Thursday 07 April 2005 3:27:04 pm

Hi,

After clearing cache use template compiler from commadline to compile templates using bin/php/eztc.php with force parameter. Use --help parameter to view available parameters. I have something similiar on one of my servers. If one pass is not enough, try restart and once again use eztc.php. May it help You.

Konrad

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 20 2025 04:04:07
Script start
Timing: Jan 20 2025 04:04:07
Module start 'layout'
Timing: Jan 20 2025 04:04:07
Module start 'content'
Timing: Jan 20 2025 04:04:09
Module end 'content'
Timing: Jan 20 2025 04:04:09
Script end

Main resources:

Total runtime1.5157 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.00020.0070 589.4141152.6563
Module start 'layout' 0.00720.0026 742.070339.5234
Module start 'content' 0.00981.5044 781.5938517.5234
Module end 'content' 1.51420.0015 1,299.11728.0938
Script end 1.5157  1,307.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2642160.0003
Check MTime0.00180.1181160.0001
Mysql Total
Database connection0.00090.060910.0009
Mysqli_queries1.460596.3563540.0270
Looping result0.00040.0296520.0000
Template Total1.456996.120.7285
Template load0.00190.126620.0010
Template processing1.455095.993520.7275
Template load and register function0.00020.010310.0002
states
state_id_array0.00070.047810.0007
state_identifier_array0.00370.243220.0018
Override
Cache load0.00150.0998100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.037220.0003
Fetch class attribute name0.00090.062630.0003
XML
Image XML parsing0.00260.170920.0013
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00270.1796160.0002
String conversion0.00000.000540.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs