- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Maximum number of files and directory within a sin...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-24-2007 12:42 AM
тАО09-24-2007 12:42 AM
Maximum number of files and directory within a single directory
limit on a HPUX 11.11 server with People Financial logs.
1) What is the HP-UNIX number of files limit?
2) Is this limit set per filesystem or directory?
3) Does this limit also include directories under the directory?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 01:14 AM
тАО09-24-2007 01:14 AM
Re: Maximum number of files and directory within a single directory
There is no practical limit if 'largefiles' are enabled and you are running a VxFS filesystem. That is to say that inodes will be allocated as needed.
The practical constraint will be performance in searching for files and in updating the inode metadata associated with the files.
Multiple directories with smaller numbers of files will be more efficient than smaller numbers of directories containing large numbers of file from a search performance perspective.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 02:03 AM
тАО09-24-2007 02:03 AM
Re: Maximum number of files and directory within a single directory
1) No.
2) No.
However when you get past a certain number of files in a single directly, an ls command all by itself can bring a system to its knees.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 02:32 AM
тАО09-24-2007 02:32 AM
Re: Maximum number of files and directory within a single directory
Although I doubt quotas are in play, it is possible to limit the number of files using quotas so that that could be a limit. It would be helpful to post the exact error message you are seeing as that would give some clue to the system call and errno value you are seeing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 02:16 PM
тАО09-24-2007 02:16 PM
Re: Maximum number of files and directory within a single directory
Now, are you sure that your application will handle an unlimited number of log files? A badly designed program might try to open all of them at the same time (which will exceed the kernel's maxfiles or maxfiles_lim parameter). This is a question for the author of the application.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 06:38 PM
тАО09-24-2007 06:38 PM
Re: Maximum number of files and directory within a single directory
1) What is the HP-UNIX number of files limit?
No limit
2) Is this limit set per filesystem or directory?
No limit
3) Does this limit also include directories under the directory?
No limit
Please paste the error message you encountered
WK