1834236 Members
2428 Online
110066 Solutions
New Discussion

Kernel Parameter

 
Rusty Sapper
Frequent Advisor

Kernel Parameter

I need some information on the ncallout parameter. I'm running 11.0 and one of our servers has crashed because the ncallout table was full which caused a system panic.
This is a heavily used system that has had other resource issues because of the number of applications running on it.

Any info or documents would be helpful

TIA

Rusty
7 REPLIES 7
Helen French
Honored Contributor

Re: Kernel Parameter

hey,

ncallout specifies the maximum number of timeouts that can be scheduled by the kernel at any given time.

Acceptable Values:
Minimum
6
Maximum
Memory limited
Default
16+Nproc+USING_ARRAY_SIZE+SERVING_ARRAY_SIZE

Timeouts are used by:

alarm() system call,
setitimer() system call,
select() system call,
drivers,
uucp processes,
process scheduling.

When the system exceeds the timeout limit, it prints the following fatal error to the system console:

panic: timeout table overflow

If the value of nproc is increased, ncallout should be increased proportionately. A general rule is that one callout per process should be allowed unless you have processes that use multiple callouts.

HTH,
Shiju

Life is a promise, fulfill it!
Rusty Sapper
Frequent Advisor

Re: Kernel Parameter

Yes that helps.
Another question though...
When you say "timeout scheduled by the kernel" I think of some system call (like one in the list you provided) waiting for another resource for a certain period of time then timing out, is that correct?
Praveen Bezawada
Respected Contributor

Re: Kernel Parameter

HI

ncallout specifies the maximum number of timeouts that can be scheduled by the kernel at any given time

Default
16+Nproc+USING_ARRAY_SIZE+SERVING_ARRAY_SIZE

ncallout specifies the maximum number of timeouts that can be scheduled by the kernel at any given time. Timeouts are used by:

alarm() system call,
setitimer() system call,
select() system call,
drivers,
uucp processes,
process scheduling.

When the system exceeds the timeout limit, it prints the following fatal error to the system console:

...BPK...
Sanjay_6
Honored Contributor

Re: Kernel Parameter

Hi Rusty,

Here is a link on the list of kernel parameters,

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

Here is the detail on "ncallout"

http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparam.Ncallout.html

Hope this helps.

Regds
Rusty Sapper
Frequent Advisor

Re: Kernel Parameter

Actually,
Your replies are informative but not as helpful as I need. Frankly, the decription for the kernel parameter is incredibly vague.
Does anyone know anything more than the description and could explain it to someone that knows little about system timeouts?

TIA

Rusty
Steven Sim Kok Leong
Honored Contributor

Re: Kernel Parameter

Hi,

From various sources,

When the system excees the timeout limit, it prints the following fatal error to the system console:

panic: timeout table overflow

If the value of nproc is increased, ncallout should be increased proportionately. A general rule is that one callout per process should be allowed.

Change ncallout also if you are running an unusually high number of device drivers on your system.

If you are opening many sockets, many of which are waiting on I/O, you will likely run into this limit.
Set ncallout to a value greater than the sum of:

nkthread + the number of I/O devices connected to the machine

If you are running Java 1.X etc, you have to finetune your kernel parameters including ncallout.

Visit this link for more information:

http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/configuration.html

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com