- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inode question
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
10-01-2004 06:37 AM
10-01-2004 06:37 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 06:47 AM
10-01-2004 06:47 AM
SolutionWhen you are haing performance issues, it would be nice to collect some statastics.
sar -a 5 10
sar -v 5 10
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 06:47 AM
10-01-2004 06:47 AM
Re: inode question
This "could" create performance issues.
Large amounts of files in a dir can create slow lisings ( you could check the inode cache kernel parameter)
deep paths also can slow down performance.
Do you have performance problems on the filesystem?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 06:54 AM
10-01-2004 06:54 AM
Re: inode question
You will notice the problems in general too. When you do ls -altr or some search..
These many number of files, and used inodes is surely a problem for file system performance.
What practise we used to have was have a backup directory..Move the files of so many days old to that directory. And then run archive_to_tape script to archive this backup..which also used to delete contents of these. You may plan something like this.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 06:57 AM
10-01-2004 06:57 AM
Re: inode question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 07:07 AM
10-01-2004 07:07 AM
Re: inode question
If you run, as root, fuser on a directory that you know has I/O activity on the files within, you'll see what I mean. /dev is a typical example. fuser /dev will return a list of PIDs for all processes that have a lock on that directory.
What I don't know (and was not determinable via a quick search on google groups) if that a "deadly embrace" situation is still possible, whereby process 100 locks directory "A" and process 200 locks directory "B", and then each process gets to a point where it needs to lock the other direcory, but cannot obtain a lock and so they both wait for each other. But because they are both waiting, nothing happens.
I couldn't find anything that indicated if the number of locks that can be placed on a directory or file is finite. I would assume it would have to be but with a 64-bit system one would think that the upper threshold is so high that it is effectively limitless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 07:08 AM
10-01-2004 07:08 AM
Re: inode question
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 07:12 AM
10-01-2004 07:12 AM
Re: inode question
The other mistake that is commonly made is to use a filesystem as a database; ie, using the directory trees as a substitute for a true database. Be aware that directory searches are linear searches so that the system on average has to search through n/2 directory entries to find the desired file.
300,000 files is a 280GB filesystem is not considered to be a large number of files as long as a reasonable directory tree is in place. If you have 300,000 files in a handfull of directories then that is a bad thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 04:02 AM
10-04-2004 04:02 AM