eZ publish and Turck MMCache

Author Message

Vincent Saulnier

Wednesday 03 March 2004 1:40:04 pm

I read in lots of threads that there are problems between eZ publish and Turck MM cache when you have more then 10 eZ Sites running.

Did anybody checked if it was possible to make it work when you turn off eZ publish's cache?

Is the a way to enable Turck MM cache one Site at a time?

Willie Seabrook

Wednesday 03 March 2004 4:56:42 pm

It works fine with me and I have 2 ez sites running, one with caching off and one with caching on. It took page load time from ~0.9 seconds with ez caching on down to less than 0.2s with ez caching on.

I think with apache 2 (and 1.3???) virtual hosting you can use different php.ini files for each virtual host. Look into that for the ability to turn on mmcache one site at a time.

Georg Franz

Friday 05 March 2004 1:50:54 am

Hi,

I am using turck cache, I've around 10 sites installed.

You can turn on / turn off turck cache for a virtual host in the httpd.conf.

I've turned off the caching of the /var dir. So I am only caching the "program files" of ez, not the cache files.

(You can do some fine tuning in the php.ini).

My settings:
http://ez.no/community/blog/template_compilation_changes/mmcache_settings

HTH

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 15:14:49
Script start
Timing: Jan 18 2025 15:14:49
Module start 'layout'
Timing: Jan 18 2025 15:14:49
Module start 'content'
Timing: Jan 18 2025 15:14:50
Module end 'content'
Timing: Jan 18 2025 15:14:50
Script end

Main resources:

Total runtime0.9650 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0313152.6250
Module start 'layout' 0.00560.0021 741.656339.4453
Module start 'content' 0.00770.9556 781.1016564.1406
Module end 'content' 0.96330.0016 1,345.24228.1641
Script end 0.9649  1,353.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3278160.0002
Check MTime0.00140.1430160.0001
Mysql Total
Database connection0.00080.079810.0008
Mysqli_queries0.915994.9174590.0155
Looping result0.00060.0607570.0000
Template Total0.936297.020.4681
Template load0.00200.212220.0010
Template processing0.934296.808820.4671
Template load and register function0.00010.012810.0001
states
state_id_array0.00080.080110.0008
state_identifier_array0.00130.131720.0006
Override
Cache load0.00170.1734210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.048330.0002
Fetch class attribute name0.00090.094240.0002
XML
Image XML parsing0.00070.073830.0002
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00110.1190160.0001
String conversion0.00000.000740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs