1833707 Members
2689 Online
110063 Solutions
New Discussion

system administration

 
SOLVED
Go to solution
David Almada_1
Occasional Advisor

system administration

hi everyone,
I?ve had a problem with a server 9000.It just stops.Consulting syslog.log I found the message
vmunix:file:table is full
what happened?
thank?s
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor
Solution

Re: system administration

David,

There is a kernel parameter called nfile that is overflowing.

Increase this parameter by 30% of what you have now. HP also suggests to increase nflocks parameter also when increasing nfile.

You can use SAM to accomplish this task. If you want to do it manually,

#vi /stand/system
(modify nfile & nflock value to currentvalue+30%)
save the file
#mk_kernel -o /stand/vmunix
#shutdown -r y 0

After increasing it, keep a track of it's value by doing a sar -v 2 20 at regular intervals.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: system administration

In addition to adjusting the parameter, you may also want to see what processes are causing this problem by using lsof command. This is to be installed seperately. Try this site,

http://hpux.asknet.de

(There are US sites UT and WI also. I could never be able to get into these sites so far)

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
linuxfan
Honored Contributor

Re: system administration

Hi David,

Looks like you need to increase the kernel parameter nfile which determines the maximum number of files that can be open simultaneously which when full means no more files can be open.

To see the current usage you can also use glance and look at the system parameters usage or you can use sar -v.

You can be liberal with this parameter and double its present value.

To get more information about the kernel paratmer nfile, check the link
http://docs.hp.com/hpux/onlinedocs/os/11i/kcparams/KCparam.Nfile.html

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Michael Tully
Honored Contributor

Re: system administration

Hi,

As already pinpointed by the others your 'nfile' kernel parameter is too small.
I suggest you use 'SAM' to increase your
kernel parameters if you not familiar in
doing it manually as already suggested.
Be aware however that the manual method
proposed with not work on HP-UX 10.20 or
11.00.
If your kernel has formulas set up SAM will
assist you in changes for the dependancies.

If you wish to change manually for HP-UX 10.20

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
(modify the necessary values and save the file)
# mk_kernel -s system
# cd /stand
# mv vmunix vmunix.prev
# mv /stand/build/vmunix_test /stand/vmunix
# shutdown -r y 0

For HP-UX 11 follow this
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
(modify the necessary values and save the file)
# mk_kernel -s system
# kmupdate
# shutdown -r y 0

HTH
-Michael
Anyone for a Mutiny ?