1833018 Members
1993 Online
110048 Solutions
New Discussion

dmesg error

 
Kevin.Wang
Frequent Advisor

dmesg error

# dmesg

Jul 18 15:09
...
Starting the STREAMS daemons-phase 2
$Revision: vmunix: vw: -proj selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108' Wed Nov 8 19:24:56 PST 2000 $
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 3145728 Kbytes, lockable: 2394824 Kbytes, available: 2754292 Kbytes

file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full


Why table is full?
8 REPLIES 8
Massimo Bianchi
Honored Contributor

Re: dmesg error

Hi,
you are hitting a kernel parameter limit.

check with "sar -v 3 10".


You should check kernel parameter nfile, that is the maximum number of concurrent open file, systemwide.

You can use sam to change the value. IT requires a kernel rebuild and a reboot.


HTH,
Massimo
twang
Honored Contributor

Re: dmesg error

It is because the "nfile" kernel parameter table size limit has been
reached. You have to increase this kernel parameter "nfile".
twang
Honored Contributor

Re: dmesg error

In addition, by default nfile is calculated :
(16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))

Therefore you can increase the maxusers parameter. This will solve your problem.
Rainer von Bongartz
Honored Contributor

Re: dmesg error



Increase your kernel parameter nfile
nfile limits the number of open files.

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Kevin.Wang
Frequent Advisor

Re: dmesg error

# sar -v 3 10

HP-UX hp2000 B.11.11 U 9000/800 07/18/03

15:31:56 text-sz ov proc-sz ov inod-sz ov file-sz ov
15:31:59 N/A N/A 214/276 0 0/476 0 1818/2170 0
15:32:02 N/A N/A 214/276 0 0/476 0 1818/2170 0
15:32:05 N/A N/A 214/276 0 0/476 0 1816/2170 0
15:32:08 N/A N/A 214/276 0 0/476 0 1816/2170 0
15:32:11 N/A N/A 215/276 0 0/476 0 1836/2170 0
15:32:14 N/A N/A 214/276 0 0/476 0 1812/2170 0
15:32:17 N/A N/A 214/276 0 0/476 0 1812/2170 0
15:32:20 N/A N/A 214/276 0 0/476 0 1812/2170 0
15:32:23 N/A N/A 214/276 0 0/476 0 1812/2170 0
15:32:26 N/A N/A 214/276 0 0/476 0 1812/2170 0


# tail -5 /var/adm/syslog/syslog.log
Jul 9 17:32:36 hp2000 ftpd[27741]: FTP session closed
Jul 15 15:26:05 hp2000 vmunix: file: table is full
Jul 15 15:26:14 hp2000 vmunix: file: table is full
Jul 15 15:33:41 hp2000 above message repeats 183 times
#
Kevin.Wang
Frequent Advisor

Re: dmesg error

How to increase this kernel parameter "nfile" ?
twang
Honored Contributor

Re: dmesg error

SAM---->Kerrnel Paramters --->Configurable Parameters and change what you want to change.
twang
Honored Contributor

Re: dmesg error

Apply the above changes of parameters, you need to rebuild the kernel and reboot the system.
One more information for reference, once you fail to rebuild the kernel, you need to reboot from the previous kernel, you need to interrupt the autoboot and boot to ISL;
ISL>hpux /stand/vmunix.old

Good luck!
twang