Cache Limit

Author Message

Andy Boston

Monday 20 December 2010 5:31:01 am

Hi,

Where do we set a size limit on the cache?

If a site is left for a while we don't want the cache building up so much that it overwhelms the server space.

thanks in advance

Andy :)

Christian Rößler

Monday 20 December 2010 6:23:44 am

Afair eZP does not have such an option. Seems you have to implement it yourself. Perhaps run a daily cronjob, which purges/removes cache files older than xx days?

In addition to that, ez 4.4 seems to have a cronjob or script which purges old cache files.

cheers,

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

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

Main resources:

Total runtime0.6962 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.0094 587.9063152.6250
Module start 'layout' 0.00940.0033 740.531339.4531
Module start 'content' 0.01280.6816 779.9844518.3672
Module end 'content' 0.69440.0018 1,298.35168.1797
Script end 0.6962  1,306.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5528160.0002
Check MTime0.00160.2235160.0001
Mysql Total
Database connection0.00120.173110.0012
Mysqli_queries0.641792.1779540.0119
Looping result0.00110.1625520.0000
Template Total0.658694.620.3293
Template load0.00230.328420.0011
Template processing0.656394.269520.3282
Template load and register function0.00010.014810.0001
states
state_id_array0.00030.048610.0003
state_identifier_array0.00260.375220.0013
Override
Cache load0.00180.2597140.0001
Sytem overhead
Fetch class attribute can translate value0.00170.245920.0009
Fetch class attribute name0.00300.424930.0010
XML
Image XML parsing0.00060.082820.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00080.1184160.0001
String conversion0.00000.001540.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