Caching and translation issues

Author Message

Lars Eirik R

Wednesday 09 February 2011 11:51:36 pm

Hi.
We are currently running a site ezpublish 4.1.3 in a shared environment. Currently the performance on the server has been decreasing and we experience new issues which we have never experienced before. The problem is related to translation files and caching it appears. We have not done any changes to the installation in several weeks ,still the customer reports that some of the translations do not currently work. Basically this means that on our site we get english default text, not the translated one which is expected.

After we clear the cache using ezcache --clear-all --purge from commandline the expected result is once again returned and all elements are translated from the translation files.

Do you have any ideas why this happens? Any thing we can do to resolve this issue?

The site currently has all translation set to enabled as well as template compile and template cache enabled.

There are currently several translation files being used, but this should not be a problem because we use an extensive array of extensions.

Yannick Olympio

Friday 11 February 2011 5:13:30 am

Hi,

We've encountered the same translation cache corruption on our projects, like you, after purging translation, content and compiled templates cache the issue was solved. But we've never found why it happens time to time ... So we're also interested in finding what's causing that (we're on eZ Publish 4.1.2).

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

Main resources:

Total runtime0.7721 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.0106 587.9063152.6250
Module start 'layout' 0.01060.0046 740.531339.4531
Module start 'content' 0.01520.7557 779.9844499.2891
Module end 'content' 0.77090.0012 1,279.27348.3203
Script end 0.7721  1,287.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5348160.0003
Check MTime0.00180.2392160.0001
Mysql Total
Database connection0.00460.590710.0046
Mysqli_queries0.719993.2416540.0133
Looping result0.00070.0872520.0000
Template Total0.729594.520.3647
Template load0.00280.366620.0014
Template processing0.726694.112520.3633
Template load and register function0.00010.018710.0001
states
state_id_array0.00110.140010.0011
state_identifier_array0.00120.156320.0006
Override
Cache load0.00240.3082140.0002
Sytem overhead
Fetch class attribute can translate value0.00070.096520.0004
Fetch class attribute name0.00100.123540.0002
XML
Image XML parsing0.00090.116820.0005
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00090.1230210.0000
String conversion0.00000.001440.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs