OFBiz
  1. OFBiz
  2. OFBIZ-4385

ImageManagement cannot handle many directories

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: product
    • Labels:
      None
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      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

        Activity

        Hide
        Jacques Le Roux added a comment -

        Thanks for report Sam,

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

        Show
        Jacques Le Roux added a comment - Thanks for report Sam, I agree this should be addressed, if we want to claim to support large organizations OOTB...

          People

          • Assignee:
            Unassigned
            Reporter:
            Sam Hamilton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Agile