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: SVN trunk
    • Fix Version/s: None
    • Component/s: product
    • Labels:
      None

      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

        Sam Hamilton created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development