Serious problems with viewcache...

Author Message

Nicklas Lundgren

Monday 14 April 2008 10:49:44 am

Hi folks,
I have found a really strange problem in a 3.8.6-site.
I noticed bad performance, even though we have been using view-cache and cacheblocks combined. We are quite used to the cache-system of eZ, and normally the sites are running nice.

But with this site, its different. I hacked kernel/content/view.php to see which viewcache-file it tries to fetch for a certain page.

It says it is fetching cache2/content/customer/60-bd08bfa785266bd29e0a86b71890fbc0.cache

However, when I search the whole content cache directory, this file doesnt exist!

How can the system search for a viewcache file that doesnt exist? I am really confused.

Can it be because we have changed the name of the cache-dir from "cache" to "cache2"? I guess not, since it is allowed to change this directory in the site.ini.file...

Any ideas on how I should proceed with this annoying issue, is very welcome...

Cheers!
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Maxime Thomas

Tuesday 15 April 2008 10:43:18 pm

If my memory is ok, you must find a file in the content cache with the mapping between url_alias and the cache2/content/customer/60-bd08bfa785266bd29e0a86b71890fbc0.cache
file.

But the cache2 is very weird. Have you set it up ?

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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 19:05:34
Script start
Timing: Jan 18 2025 19:05:34
Module start 'layout'
Timing: Jan 18 2025 19:05:34
Module start 'content'
Timing: Jan 18 2025 19:05:35
Module end 'content'
Timing: Jan 18 2025 19:05:35
Script end

Main resources:

Total runtime0.7624 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.0100 587.9141152.6250
Module start 'layout' 0.01000.0040 740.539139.4453
Module start 'content' 0.01400.7468 779.9844536.7656
Module end 'content' 0.76080.0016 1,316.750012.1563
Script end 0.7624  1,328.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4381160.0002
Check MTime0.00130.1682160.0001
Mysql Total
Database connection0.00180.239010.0018
Mysqli_queries0.704192.3496540.0130
Looping result0.00140.1864520.0000
Template Total0.712493.420.3562
Template load0.00270.356720.0014
Template processing0.709793.084420.3548
Template load and register function0.00010.019010.0001
states
state_id_array0.00620.811910.0062
state_identifier_array0.00260.337620.0013
Override
Cache load0.00200.2598200.0001
Sytem overhead
Fetch class attribute can translate value0.00110.139620.0005
Fetch class attribute name0.00210.272340.0005
XML
Image XML parsing0.00320.420820.0016
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00320.4193230.0001
String conversion0.00000.001240.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
2content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs