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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.