Forums / General / What is the purpose of "images-versioned"

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