Login  Register

[jira] [Created] (OFBIZ-4385) ImageManagement cannot handle many directories

Posted by Nicolas Malin (Jira) on Aug 31, 2011; 8:17am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4385-ImageManagement-cannot-handle-many-directories-tp3780466.html

ImageManagement cannot handle many directories
----------------------------------------------

                 Key: OFBIZ-4385
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4385
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
            Reporter: Sam Hamilton
            Priority: Minor


The way that ImageManagement creates directories to save product images means that you end up hitting file system limits if you have a lot of products that need images.

Ext3 currently allows ~32,000 directories within one parent directory and so if you have more than 32,000 products you cannot save any more images as the underlying system will not allow the creation of directories. Ext4 currently allows ~64,000 directories within one parent directory so depending on your filesystem you will not see the error until reaching this higher number.

See "Break 32,000 subdirectory limit" from http://en.wikipedia.org/wiki/Ext4#Features


Thanks
Sam


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira