Conflict between custom binaryhandler and stale cache

Author Message

Holger Marx

Friday 29 May 2009 4:39:49 am

Since I activate Stale Cache in my eZ Publish installation I run into trouble with my custom binaryhandlers.

This is the situation:

- eZ Publish 4.1.2
- two of my activated extensions contain one respectively two binaryhandlers
- binaryhandlers are activated in override/file.ini.append.php:

[BinaryFileSettings]
Handler[]
Handler[]=extension1aHandler
Handler[]=extension2aHandler
Handler[]=extension2bHandler
Repositories[]=kernel/classes
ExtensionRepositories[]=extension1
ExtensionRepositories[]=extension2

- stale cache is activated in override/file.ini.append.php:

[ClusteringSettings]
FileHandler=eZFS2FileHandler

When using the "old" cluster file handler "eZFSFileHandler" the extension binaryhandlers work fine, but now "eZFS2FileHandler" is activated the handlers aren't working anymore!

Can somebody tell me if there is a connection/relation between the new cluster file handler and BinaryFileSettings?

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

Main resources:

Total runtime0.0223 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.3594151.2266
Module start 'layout' 0.00430.0041 739.5859220.7188
Module start 'content' 0.00840.0124 960.3047993.8516
Module end 'content' 0.02090.0014 1,954.156329.9922
Script end 0.0222  1,984.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.2884140.0002
Check MTime0.00104.6621140.0001
Mysql Total
Database connection0.00062.853210.0006
Mysqli_queries0.002310.524830.0008
Looping result0.00000.076010.0000
Template Total0.00104.510.0010
Template load0.00083.472210.0008
Template processing0.00020.998210.0002
Override
Cache load0.00052.237310.0005
General
dbfile0.00114.767180.0001
String conversion0.00000.039640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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