What is the purpose of "images-versioned"

Author Message

Guillaume Kulakowski

Monday 04 April 2011 9:00:50 am

Hi,

I have an instance of eZ Publish where I can't upload any image because I have reached a NFS limitation in the "images-versioned" folder (31999 directory).

What is the purpose of "images-versioned" ? Can I purge it ?

Thx

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Sébastien Morel

Monday 04 April 2011 1:06:41 pm

Hi,

This is a limit of ext3, you can remove the empty directories, these just are working directory.

For "image-versioned "I think this bug is fix in 4.5 (or even 4.4). But more generally, this problem can happen if you have over 32K images in a node ...

The next big eZ in production environment, I will still install a Debian but over ReseirFS
In the meantime, the workaround is something like that:

find -depth -type d -empty -exec rmdir {} \;

+ +

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Marko Žmak

Monday 04 April 2011 2:05:54 pm

Hm, could it be related to this bug:

  • http://issues.ez.no/IssueView.php?Id=17781&activeItem=1

?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Guillaume Kulakowski

Monday 04 April 2011 2:29:31 pm

"

Hi,

This is a limit of ext3, you can remove the empty directories, these just are working directory.

...

find -depth -type d -empty -exec rmdir {} \;
"

Thx. But what the purpose of this folder ? I have do a mv image-versioned _image-versioned and I haven't any problem...

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Marko Žmak

Tuesday 05 April 2011 6:15:13 am

"

Thx. But what the purpose of this folder ? I have do a mv image-versioned _image-versioned and I haven't any problem...

"

Here it is:

  • http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/image.ini/FileSettings/VersionedImages

And by looking at the eZP kernel code, it looks like its used only in the method imagePath() of eZImageAliasHandler class.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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:07:19
Script start
Timing: Jan 18 2025 02:07:19
Module start 'layout'
Timing: Jan 18 2025 02:07:19
Module start 'content'
Timing: Jan 18 2025 02:07:20
Module end 'content'
Timing: Jan 18 2025 02:07:20
Script end

Main resources:

Total runtime0.7179 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0078152.6250
Module start 'layout' 0.00530.0039 740.632839.4531
Module start 'content' 0.00910.7069 780.0859629.0938
Module end 'content' 0.71610.0018 1,409.179716.7656
Script end 0.7178  1,425.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5005160.0002
Check MTime0.00130.1745160.0001
Mysql Total
Database connection0.00080.107410.0008
Mysqli_queries0.653691.0488660.0099
Looping result0.00060.0780640.0000
Template Total0.689496.020.3447
Template load0.00220.307620.0011
Template processing0.687295.730920.3436
Template load and register function0.00010.013810.0001
states
state_id_array0.00090.126310.0009
state_identifier_array0.00080.111620.0004
Override
Cache load0.00190.2637400.0000
Sytem overhead
Fetch class attribute can translate value0.00060.077530.0002
Fetch class attribute name0.00120.167180.0001
XML
Image XML parsing0.00290.399030.0010
class_abstraction
Instantiating content class attribute0.00000.0026100.0000
General
dbfile0.00240.3351310.0001
String conversion0.00000.001640.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
2content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 11

Time used to render debug report: 0.0001 secs