Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4385

ImageManagement cannot handle many directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • product
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            samhamilton Sam Hamilton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: