System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

kernel table "kthread" is full

SOLVED
Go to solution
jaivinder
Frequent Advisor

kernel table "kthread" is full

Hi Gurus,

I am having a HP RP4440 server running on HPUx 11i V1. Yesterday I got following errors in my syslog :
kernel table "kthread" is full,

Please help me out in this.
Following are some of the kernel parameters related to this error. Please suggest the changes that can correct this problem.

[root@tstpag11:/root]# kmtune -l -q nkthread
Parameter: nkthread
Current: 8451
Planned: 8451
Default: (((NPROC*7)/4)+16)
Minimum: -
Module: -
Version: -
Dynamic: No
[root@tstpag11:/root]# kmtune -l -q nproc
Parameter: nproc
Current: 4820
Planned: 4820
Default: (768+8*MAXUSERS)
Minimum: -
Module: -
Version: -
Dynamic: No
[root@tstpag11:/root]# kmtune -l -q maxusers
Parameter: maxusers
Current: 600
Planned: 600
Default: 32
Minimum: -
Module: -
Version: -
Dynamic: No

Thanks in advance.
5 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: kernel table "kthread" is full

It looks like you are going to have to make kthread bigger. If you ran out at 8451, you may want to increase it to 10000.
jaivinder
Frequent Advisor

Re: kernel table "kthread" is full

If changing the nkthread to 10000 will resolve the problem then we can change it. But it will require a reboot.
Trng
Super Advisor

Re: kernel table "kthread" is full

Hi Jovinder,

no option,except upldating the kerenel parameter value.

rgds
skr
administrator
Emil Velez
Honored Contributor

Re: kernel table "kthread" is full

current and planned will always be the same unless you change it for the next reboot.

What probably happened is a process created a bunch of threads (maybe bad code) and it filled the kernel thread table. When the process died it released.

look in glance to see how many kernel threads are in use.
Dennis Handly
Acclaimed Contributor

Re: kernel table "kthread" is full

>Emil: look in glance to see how many kernel threads are in use.

Ah, I found it. If you cycle though the "Next Keys", you'll finally come to a F3 that says "Thread List". Unfortunately it doesn't count them and doesn't seem to list them all.

Using gpm, under Reports in the main window is a "Thread list", which does give a total.