- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: maximum number of files in a directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:42 AM
07-05-2007 04:42 AM
maximum number of files in a directory
Does anyone happen to know the maximum number of files that can be stored in a single directory. My system is a Itanium x6600 running HP-UX 11.23 w/ 16gb ram.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:50 AM
07-05-2007 04:50 AM
Re: maximum number of files in a directory
There is no practical limit to the number of inodes that a VxFS filesystem can allocate as long as 'largefiles' is enabled for it.
The issue really is performance. The more files in a directory (and a filesystem's mountpoint is that too), the slower it will be to search the directory. This includes not only running utilities like 'find' but in simply attempting to execute something that lives in a directory with many, many other files.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:51 AM
07-05-2007 04:51 AM
Re: maximum number of files in a directory
1. what size is the directory
2. what size is the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:52 AM
07-05-2007 04:52 AM
Re: maximum number of files in a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:58 AM
07-05-2007 04:58 AM
Re: maximum number of files in a directory
It is a 10gb partition. The files are output from a program. The bulk of the files are 0kb in size, just pointers. The others average about 4mg in size. A new directory is created for each month's output. The directory for this month so far is over 40000 files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:03 AM
07-05-2007 05:03 AM
Re: maximum number of files in a directory
It's not the SIZE of the files, it's the NUMBER of them that matter. Searching a directory becomes slower as the number of elements therein becomes larger.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:07 AM
07-05-2007 05:07 AM
Re: maximum number of files in a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 08:07 PM
07-05-2007 08:07 PM
Re: maximum number of files in a directory
Just create a subdirectory for each day.