Forums / Install & configuration / ProcessCaching

ProcessCaching

Author Message

Kin JOY

Monday 18 May 2009 7:25:29 am

Hello guys,

I'm running ezpublish 4.0 and i am facing an issue with the ProcessCache() fonction. My index page is getting a long timeout but other pages is working fine.

I figured out with xdebug that the processCache fonction is called several time and generate a lock. That's why i have a php sleep of 0.5s each time the processCache fonction is called...

I tried to remove ProcessCaching by adding this line on my override/site.ini.append.php without any success :

[TemplateSettings]
TemplateCache=enabled
TemplateCompile=enabled
TemplateOptimization=enabled
ProcessCaching=disabled

 

So my question dear friends, how can I really disabled ProcessCaching and how can I be sure it is really disabled ? Thanks for your help.

Regards,

Kin

Kin JOY

Wednesday 20 May 2009 1:09:51 am

Hi,

Anyone have an idea ? How come my ez is still using processCaching ?

Thanks for your help...

Regards,

André R.

Wednesday 20 May 2009 3:19:42 am

There is no ProcessCaching setting, so unsure why your trying to set that.

As for processCache(), I guess your talking about the one from one of the cluster handlers (fs or db)?
What is your index page? ezflow page? with disabled cache view cache (cache_ttl=0)?

It might help to upgrade to 4.1.x and use the stale cache feature (see article), but it won't help if you have disabled cache and the template is slow. In that case you have to look into optimizing the template and / or enable view cache on that page ( if just for a little while, for instance ~60 seconds aka cache_ttl=60).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Kin JOY

Tuesday 26 May 2009 1:15:50 am

Hi Andre,

Thanks for replying :)

I saw in the following documentation that it was possible to disable ProcessCaching, that's why I tried :
http://ez.no/ezpublish/documentation/configuration/troubleshooting/process_cache_enabled_reduces_performance

In my case it's the FS cluster handlers which cause the issue.

I am going to try what you said on disabling the cache or set up a short TTL. I also read the new stale cache feature and it sounds pretty interresting.

Thanks a lot for your help, I'll get back on this topic as soon as I have results.

Regards,

JOY

eZ debug

Timing: Jan 30 2025 19:14:31
Script start
Timing: Jan 30 2025 19:14:32
Module start 'content'
Timing: Jan 30 2025 19:14:32
Module end 'content'
Timing: Jan 30 2025 19:14:32
Script end

Main resources:

Total runtime0.2876 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.9219370.3047
Module start 'content' 0.00820.0135 958.22661,005.6406
Module end 'content' 0.02170.2658 1,963.86723,894.1406
Script end 0.2875  5,858.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00491.7111200.0002
Check MTime0.00180.6140200.0001
Mysql Total
Database connection0.00070.240610.0007
Mysqli_queries0.195467.95981410.0014
Looping result0.00130.44611390.0000
Template Total0.265492.310.2654
Template load0.00090.320310.0009
Template processing0.264591.970010.2645
Override
Cache load0.00070.226310.0007
Sytem overhead
Fetch class attribute can translate value0.00220.756010.0022
XML
Image XML parsing0.00030.102910.0003
General
dbfile0.00672.3456200.0003
String conversion0.00000.002230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs