Folder / File Limits

Discussion in 'Site & Server Administration' started by chopsticks, Feb 9, 2007.

  1. #1
    Can't really seem to find the right place to post this, but it is for a Site and on a Server so this forum seems fit it.

    Anyway...

    I am curious of whether or there are any limits to the amount of files that can be stored in a directory. Are there any limits?

    Or if there are no limits are there any recommended limits to prevent slowdowns or whatnot when accessing those files?

    Thanks.
     
    chopsticks, Feb 9, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    The limit is mainly imposed by the Operatim System used on your hosting company. On modern UNIX systems there's no explicit limit and you don't see significative slowdown, but you shouldn't put too much files on each directory, because your FTP program (to transfer files) maybe can't manage them, or maybe became too slow.
    Also, some hosting comparies configure their servers with an additional 1,000 files per directory limit.
     
    ajsa52, Feb 9, 2007 IP
  3. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Ahh, I see. Thanks for the insight. The files are automatically generated from the users (image) uploads so no issues from ftp would arise.

    I'm currently on a shared host so by the sounds of it they'd probably have some sort of limit like you said.

    Thanks for the reply :)
     
    chopsticks, Feb 10, 2007 IP