My system crash when rebuild cache

Author Message

Adolfo Barragán

Wednesday 16 August 2006 8:46:03 am

I'm working on a new site on my computer, so I need delete chache frequently.

I've deleted all cache files (via explorer, not via admin interface) and now, when I call my page, the system crash. It return me nothing and it has created only 3 files under var/cache/ini.

Windows XP, Apache 1.3.29 and PHP 4.4.3

I'm repeat operation (delete all cache files) on another site on my computer and I get same results: the system crash after rebuild 3 ini files.

What can I do?

Thanks in advance
Adolfo Barragán

Softriva .com

Thursday 17 August 2006 2:38:28 pm

In php.ini what is your

max_execution_time = ???

I am not sure if it is ok to use explorer to delete cache. I used the script that comes with ez but I am using Linux

./bin/shell/clearcache.sh --clear-all

I am not sure what is this script in WindowsXP.

Adolfo Barragán

Friday 18 August 2006 2:50:40 am

max_execution_time = 600

It's very strange. I've installed a new site from scratch, then I copy design and siteaccess directories and now it's working. I can delete cache directories and ezpublish rebuild then!

some elf on my system?

Regards
Adolfo Barragán

Marko Žmak

Friday 18 August 2006 3:32:05 am

What's your memory_limit in php.ini? I recommend 256Mb.

Also, it could be that your computer is too slow. Sometimes it happened to me that my site crashed when loading for the first time, but after I reloaded the page a few time (without clearing the cache in the meantime) it opened OK.

You could also try compiling the templates manually before loading the page by using the compile script:

bin/php/eztc.php

in eZ installation directory.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.9281 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1484152.6250
Module start 'layout' 0.00480.0032 741.773439.4453
Module start 'content' 0.00800.9182 781.2188582.9297
Module end 'content' 0.92620.0019 1,364.148412.1563
Script end 0.9281  1,376.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3478160.0002
Check MTime0.00130.1402160.0001
Mysql Total
Database connection0.00070.078810.0007
Mysqli_queries0.876894.4740620.0141
Looping result0.00070.0720600.0000
Template Total0.895496.520.4477
Template load0.00260.280320.0013
Template processing0.892896.195420.4464
Template load and register function0.00010.016210.0001
states
state_id_array0.00140.146110.0014
state_identifier_array0.00090.096720.0004
Override
Cache load0.00180.1933290.0001
Sytem overhead
Fetch class attribute can translate value0.00070.070730.0002
Fetch class attribute name0.00100.110850.0002
XML
Image XML parsing0.00090.092030.0003
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00090.0928180.0000
String conversion0.00000.000740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs