Inode usage


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Inode usage
# 1  
Old 08-01-2013
HP Inode usage

Environment: O.S Version HP-UX B.11.31 U ia64

What is the recommended Inode free nodes?

On our server Unix Sys Admin, have setup warning email alert when % of I-node usage is above or equal at 5%.

Sample Email:

Code:
---------------------------------------------------
Subject: WARNING: i-Node Usage On dbsrvr1:/app Is At WARNING (5%) Level Auto forwarded by a Rule
     1 Filesystem          kbytes    used   avail %used  iused  ifree %iuse Mounted on
     2 /dev/appsvg/oraclelv
     3                    174063616 134244397 37971726   78% 501538 9954802    5% /app
     4 
     5 
     6 WARNING_THRESHOLD = 5%
---------------------------------------------------------------------

But checking the output of df -i and bdf -i the outputs are different:

Code:
oracle@dbsrvr1:/app $ df -i /app
/app                   (/dev/appsvg/oraclelv  ) : 10456668 total i-nodes
                                                   9946654 free i-nodes
                                                    510014 used i-nodes
                                                         4 % i-nodes used
oracle@dbsrvr1:/app $ bdf -i /app
Filesystem          kbytes    used   avail %used  iused  ifree %iuse Mounted on
/dev/appsvg/oraclelv
                   174063616 134280038 37936178   78% 510074 9945894    5% /app

We have checked for top 30 directories with more files. There is already in crontab hourly scheduled shell script to delete audit files generated on Oracle Gird and RDBMS Home.

Please advises what causes the I-Node usage as high.

Last edited by Don Cragun; 08-01-2013 at 04:11 AM.. Reason: Remove font changes; add CODE tags
# 2  
Old 08-01-2013
I don't understand your concern. You have the ability to have ~10.5 million files in this filesystem. You have ~.5 million files in this filesystem. You can create ~10 million more files.

Your cron job deleting files is lowering the number of used i-nodes; not raising it.

Most system administrators would be concerned if only 5% of i-nodes were available (i.e., 95% used); I don't see any reason why anyone would be concerned that you had used less than 5% of a resource unless the point was to get rid of it because it is so underused.
# 3  
Old 08-01-2013
Besides, VxFS (which I'm assuming you're using) provides on-demand dynamic inode allocation with a theoretical limit of 2 billion, so you won't be running out of inodes anytime soon.
# 4  
Old 08-01-2013
Ask your system administrator why he sends an alert at that level.
# 5  
Old 08-01-2013
I have been advised by our Unix System administrator that "I-Noe Usage Warning threshold of 5%" set after witnessing an issue in the past when our production batch cycle slowed down to the i-node count on this server reaching 7%.

We have a warning in place so that we can try to take action before it reaches that point again.

Would appreciate and views on how come I-node usage of 7% can impact on the Server slowness?

Server is running on HP-UX 11.31 11i v3.
# 6  
Old 08-02-2013
Quote:
Originally Posted by Siva SQL
I have been advised by our Unix System administrator that "I-Noe Usage Warning threshold of 5%" set after witnessing an issue in the past when our production batch cycle slowed down to the i-node count on this server reaching 7%.

We have a warning in place so that we can try to take action before it reaches that point again.

Would appreciate and views on how come I-node usage of 7% can impact on the Server slowness?

Server is running on HP-UX 11.31 11i v3.
This is completely backwards! Depending on file system type, there could be issues if the i-node FREE percentage dropped to 7%, but there can't possibly be a performance problem caused by having too many i-nodes free. The warning they have chosen to give is complaining when things are in GREAT shape.

When you get to 100% used on a filesystem that doesn't automatically allocate more i-nodes when you run out, you can't create any more files. This is a HUGE problem, but they won't generate a warning in this case (100% used) they are only generating a warning when everything is great. Tell them in no uncertain terms that if they want to issue a warning when there are less than 10% free i-nodes that would be great; but the way to test for that is to look for %iused values of 90% or higher; not 5% or lower!

As has already been noted here; for some filesystems (ones that allocate i-nodes when needed), this test is completely bogus. Issuing warnings when %used values are greater than 90% always makes sense; issuing warnings for %iuse values greater than 90% makes sense on some filesystem types. Issuing warnings when either of these values is less than 5% shows a complete lack of understanding what those values mean!
# 7  
Old 08-02-2013
A wild guess under the assumption that "production batch cycle" is some sort of job that processes files.
Your sysadmin witnessed an issue when there were lots of files to process. The number of i-nodes used is a fast way to see how many files are present in a filesystem. The problem with this approach is that ALL files in that filesystem are considered, so if you have audit files there that are not processed this warning can be misleading.

As stated by others the number of i-nodes used per se is no problem when there are so many free.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

2. Linux

Berkeley version bdf: combination of inode and file system usage

hello, i need a command like "bdf" of HP-UX. ( report number of free disk blocks (Berkeley version) ). it should report inode and file system usage in one line like bdf -i manpage : Man Page for bdf (all Section 1m) - The UNIX and Linux Forums HP-UX command "" report inode and file... (2 Replies)
Discussion started by: bora99
2 Replies

3. UNIX for Dummies Questions & Answers

iNode Usage Identification

Hi My SunOS alps 5.10 Generic_125100-05 sun4v sparc SUNW,Sun-Fire-T200 appears to have reached 100% util on its iNodes. # df -F ufs -o i Filesystem iused ifree %iused Mounted on /dev/md/dsk/d0 4857202 14 100% / /dev/md/dsk/d20 1040 630640 ... (1 Reply)
Discussion started by: rob171171
1 Replies

4. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

5. Solaris

Inode Usage

Inode usage on one of my servers is up to 85% Whats the best way of finding which directories are storing loads of files? (1 Reply)
Discussion started by: JayC89
1 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

8. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

9. Solaris

about inode

how can i see inode table information of a perticler inode.anybody knows pls tell me. Than.Q (3 Replies)
Discussion started by: nag.mi2000
3 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
Login or Register to Ask a Question