[SunHELP] file system tuning

Gallagher, Tim sunhelp at sunhelp.org
Tue Sep 11 13:41:52 CDT 2001


We are seeing what appears to be file system problems on a UE450 running 2.6 (128 mb RAM). Symptoms of the problems (underlining added) are;

from samba.log...

	[2001/09/10 21:11:41, 0] passdb/smbpassfile.c:(119)
  	trust_password_lock: cannot open file /etc/opt/samba/private/ALLIED.CHESTER.mac - Error was No such file or directory.

	[2001/09/10 19:51:14, 1] smbd/files.c:(216)
  	file_init: Information only: requested 10000 open files, 1014 are available.

snippett from output of "netstat -k"...

	inode_cache:
	size 9249 maxsize 8520 hits 2214978 misses 1634656 kmem allocs 162310 kmem frees 153061 
	maxsize reached 12120 puts at frontlist 1504040 puts at backlist 254334 

also...

	chester# sar -v
	sar: can't open /var/adm/sa/sa11
	No such file or directory

Our take on the situation;

1- The file (ALLIED.CHESTER.mac ) does definitely exist, regardless of what the first samba.log snippett reports.
2- The output of netstat suggests we should increase the value of "ufs_ninode".
3- It seems that it would be a good idea for our file descriptor value ("rlim_fd_cur") to be raised from 64 to 256. 

The questions;

1- To what value should "ufs_ninode" be set to (...in /etc/system?) and how do you correctly set it?
2- Any other input on what to do, or comments re our take on the situation?

Thanks in advance, I will summarize.

Tim Gallagher





More information about the SunHELP mailing list