Operating System - HP-UX
1825775 Members
2580 Online
109687 Solutions
New Discussion

Urgent: kenerl parameters

 
SOLVED
Go to solution
Carlos Fernandez Riera
Honored Contributor

Urgent: kenerl parameters

My syslog.log shows new messages for me:

Dec 5 10:35:10 uba00101 inetd[456]: telnet/tcp: accept: File table overflow

Dec 4 12:58:23 uba00101 inetd[456]: telnet/tcp: accept: No buffer space available



URGENT suggentions, please


unsupported
4 REPLIES 4
Kenneth Platz
Esteemed Contributor
Solution

Re: Urgent: kenerl parameters

Carlos,

The "file table overflow" error indicates that either your inetd process is exceeding its per-process file table size, or it is trying to exceed the global file table size. These are controlled by the following two kernel parameters:
maxfiles: Soft file limit per process
maxfiles_lim: Hard file limit per process
nfile: Max (global) number of open files

You can check whether your system is close to exceeding the "nfile" parameter via the command:

# sar -v 1 110:51:12 text-sz ov proc-sz ov inod-sz ov file-sz ov
10:51:13 N/A N/A 139/340 0 534/540 0 452/902 0

In this case this indicates that the file table size is at 452/902, or approximately 50% full. If this shows that your system is approximately 90% full or higher, then you should increase the nfile parameter in addition to maxfiles.

I am unfamiliar with the second error.
I think, therefore I am... I think!
James R. Ferguson
Acclaimed Contributor

Re: Urgent: kenerl parameters

Carlos:

Try these kernel settings as a start:

# npty 400
# nstrpty 400
# nfile 8192
# ninode 8192

Also: The kernel parameter 'nstrtel' specifies the number of telnet device files that the kernel can support for incoming telnet sessions. This number should match the number of device files that exist on the system.

See this document for an overview:

http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html

...JRF...
Carlos Fernandez Riera
Honored Contributor

Re: Urgent: kenerl parameters

Thank you:

I was suspecting it was what you said, but i need a fast confirmation.

Second message may be on the way.
unsupported
Carlos Fernandez Riera
Honored Contributor

Re: Urgent: kenerl parameters

James:

Thank you too.

I was asking about meaning of these new messages for me.
I`ll see you on monday
unsupported