1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Future Fix All video thumbs in one directory

Discussion in 'Media Gallery Bug Reports' started by idFox, Apr 4, 2015.

  1. idFox

    idFox Well-Known Member

     
    GliX likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Is this causing an issue right now?

    What is the highest number of files in a single directory at the moment?
     
  3. GliX

    GliX Active Member

    As i know, at ext3 file system there are potential problem if more then 300k files saved in single directory (many Google search results about this). Also there are problem with rsync and other software for data transfer and mirroring (performance degradation while scanning big directory). If there is no problem, why XenForo avatars saved in many subdirectories?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    I didn't say it wasn't a problem.

    I just asked if it was causing an immediate problem and I also asked how many files are in a single directory at the moment?
     
  5. idFox

    idFox Well-Known Member

    ~10 000
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    And is it causing a problem right now or are you simply concerned it may become problematic in the future?

    What is the underlying file system?
     
  7. idFox

    idFox Well-Known Member

    The problem in the future.
    Simply concerned it may become problematic in the future. If i have ~10 000 now, what will happen when they become ~500 000?
    I can't sync them with another server - rsync is very slow when listing folders with such a large number of files.
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    There needs to be some pretty fundamental changes to put this right and those changes aren't appropriate for a third point release because it would break backwards compatibility.

    Newer file systems should have less of a problem with this potential issue.

    This will be marked as a "future fix" until then.
     
    idFox likes this.
  9. imthebest

    imthebest Formerly Super120

    Hi Chris,

    Is this bug going to be fixed in 1.1?

    Thanks,
    Super120
     
  10. Chris D

    Chris D XenForo Developer Staff Member

    No, probably not.

    There may be a number of changes required which are simply too big and too disruptive to do in a second point release.
     

Share This Page