- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Practical limit on number of files per directo...
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
05-22-2002 08:13 AM
05-22-2002 08:13 AM
We have an application that will be placing MANY files per directory. Are there any limits that I should be thinking of or concerned with when I allocated the associated filesystems??? A rough count of all of the individual files is 1,000,000. I thought a database better suited to this task, but the app wants to have directories and individually named files.
Thanks for any suggestions!!!!!!
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 08:17 AM
05-22-2002 08:17 AM
SolutionSee this thread for a worst case scenario and a lot of good input:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe87a42308663d611abdb0090277a778c,00.html
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 08:20 AM
05-22-2002 08:20 AM
Re: Practical limit on number of files per directory
See this recent discussion:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe87a42308663d611abdb0090277a778c,00.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 10:27 AM
05-22-2002 10:27 AM
Re: Practical limit on number of files per directory
Seeing as how you're new and all, you might want to take a look at this link, too:
http://66.216.15.50/ITRCForumsEtiquette/
Enjoy the forums,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 01:57 AM
05-23-2002 01:57 AM
Re: Practical limit on number of files per directory
don't try this (1mio files in one dir), not even at home!
As UN*X writes directories *always* as a whole, not in parts, the bigger the directory is, the slower your system will become.
Try this for demonstration:
terminal 1:
sar -a 1 9999
terminal 2:
mkdir /tmp/toobig
cd /tmp/toobig
n=1
name="very-long-and-I-mean-it-that-way-filename-just-to-fill-directory-even-faster-you-see-what-I-mean"
while [ $n -lt 999999 ];do
touch $name.$n
n=$(expr $n + 1)
done
As the directory grows your system will spend more and more time to read and write the dircetory's contents (always completly), it will become sluggish! Look for the column "dirbk/s" in the sar-output :-(
Got my point?
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 07:28 AM
05-23-2002 07:28 AM
Re: Practical limit on number of files per directory
Tests I have run under HP-UX indicate that the practical upper limit of files in a given HP-UX or JFS directory is well under 100,000.
In fact, even when using a NAS server, such as the FasTraak ones from Traakan, the standard HP-UX tools such as "ls", "find", etc., have problems in directories with sizes of around a million (1,000,000) entries. Some problems crop up even earlier, as the applications and tools are not configured to support such a large number of directory entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 07:02 AM
06-06-2002 07:02 AM