Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sar -v inode-sz HELP! 1

Status
Not open for further replies.

smacattack

Technical User
Jun 25, 2001
102
GB
When checking stats using sar -v the response i am getting shows that :
14:00:27 146/11994 0 49496/51292 0 1482/1482
14:00:32 146/11994 0 49496/51292 0 1482/1482
14:00:37 146/11994 0 49496/51292 0 1482/1482
14:00:42 146/11994 0 49496/51292 0 1482/1482
14:00:47 146/11994 0 49496/51292 0 1482/1482


The inode-sz is getting very close to being full.
Where do i find the relevant information to check how this limit of 51292 is reached and secondly how do i amend this parameter.
I cannot find anything in the /etc/system file !!

Anybody help !!? Please!



 
inod-sz in sar is ufs inode cache, kernel parameter is "ufs_ninode", this parameter is dynamic, e.g, if you change "maxusers", ufs_ninode is also be changed, if you want to set up inode cache only use ufs_ninode in "/etc/system", e.g:
set ufs_ninode = <value>

don't forget the higher the value more memory will be used, also never setup ufs_ninode to be smaller than &quot;ncsize&quot;, (DNLC cache), you can check current values with adb, e.g:
# adb -k /dev/ksyms /dev/mem
mphysmem 79e5
maxusers/D
maxusers:
maxusers: 256
ufs_ninode
ufs_ninode/D
ufs_ninode:
ufs_ninode: 17768
ncsize/D
ncsize:
ncsize: 17768
...
...

/D is to show values as decimal.

Hope it helps,

Carlos Almeida,






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top