clearcache.sh problem

Author Message

Softriva .com

Friday 11 May 2007 7:15:18 am

I can't clear all cache using the following:

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

Removing sortkey cache files in var/cache/sortkey_
Removing class identifier cache files in var/cache/classidentifiers_
Removing class attribute identifier cache files in var/cache/classattributeidentifiers_

You can see from the output that not all the cache is cleared. The clear all cache function in the admin panel works perfect.

Have anybody experienced this?

Ɓukasz Serwatka

Friday 11 May 2007 12:23:07 pm

Hello,

There is already bug report about this issue.
Have you tried patch submitted in this bug report?
http://issues.ez.no/IssueView.php?Id=9890&activeItem=1

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Softriva .com

Friday 11 May 2007 2:26:49 pm

I just did it. It worked ok.

Being new to the patch thing, I did this in /bin/shell directory

patch -p1 < clearcache.sh-patch

Xavier Dutoit

Sunday 13 May 2007 10:32:50 pm

Otherwise, there is a clearcache where you can specify the siteaccess you want to clear.

http://issues.ez.no/IssueView.php?Id=6681&

X+

http://www.sydesy.com

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 22:30:51
Script start
Timing: Jan 18 2025 22:30:51
Module start 'layout'
Timing: Jan 18 2025 22:30:51
Module start 'content'
Timing: Jan 18 2025 22:30:52
Module end 'content'
Timing: Jan 18 2025 22:30:52
Script end

Main resources:

Total runtime1.2163 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.0047 587.9063152.6250
Module start 'layout' 0.00470.0026 740.531339.4453
Module start 'content' 0.00731.2074 779.9766585.4297
Module end 'content' 1.21470.0016 1,365.406312.4844
Script end 1.2163  1,377.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2575160.0002
Check MTime0.00130.1092160.0001
Mysql Total
Database connection0.00070.053510.0007
Mysqli_queries1.166795.9144620.0188
Looping result0.00070.0595600.0000
Template Total1.191898.020.5959
Template load0.00180.144220.0009
Template processing1.190197.838320.5950
Template load and register function0.00020.020110.0002
states
state_id_array0.00070.054610.0007
state_identifier_array0.00180.148220.0009
Override
Cache load0.00140.1188220.0001
Sytem overhead
Fetch class attribute can translate value0.00080.063230.0003
Fetch class attribute name0.00150.122860.0002
XML
Image XML parsing0.00130.109330.0004
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00100.0801240.0000
String conversion0.00000.000640.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
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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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/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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs