http://www.perlmonks.org?node_id=883545


in reply to is it possible to have too many files

  1. Why aren't you using a database?
  2. If a database is out of the picture, can't you divvy these into subdirectories instead of one large one?
  3. Unix systems have inode limits; google to find specific information on your distro.

Replies are listed 'Best First'.
Re^2: is it possible to have too many files
by JavaFan (Canon) on Jan 21, 2011 at 17:05 UTC
    Unix systems have inode limits; google to find specific information on your distro
    You need to have a pretty small filesystem so that 10,000 inodes becomes a problem.

    Also, the number of inodes is typically dependent on the size of your file system, although it can be set manually when creating the filesystem. To find out how many inodes your filesystem has, and how many available, instead of googling, it maybe a lot easier to run df -i. (My ext3 filesystems seem to have about a quarter of a million inodes per Gb)