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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114186#comment-13114186 ]

Jacques Le Roux commented on OFBIZ-4385:
----------------------------------------

Thanks for report Sam,

I agree this should be addressed, if we want to claim to support large organizations OOTB...

> 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