Operating System - HP-UX
1833790 Members
2568 Online
110063 Solutions
New Discussion

All threads busy- waiting

 
sameer_4
Advisor

All threads busy- waiting

i am getting the follwoing error while executing one of my applications.


All threads busy- waiting
for next available.


Any clues ???



3 REPLIES 3
harry d brown jr
Honored Contributor

Re: All threads busy- waiting


It depends upon your OS, but for 11i look at these kernel parameters:

nkthread
and
max_thread_proc

live free or die
harry
Live Free or Die
James George_1
Trusted Contributor

Re: All threads busy- waiting

Hi

As harry has mentioned, check the nk_thread value and you have to increase it. But before that , you can check for any dfunc process which is created this mess...

# ps -ef | grep defunct

and kill these PID's and this will clear your problem.

James
forum is for techies .....heaven is for those who are born again !!
Anil C. Sedha
Trusted Contributor

Re: All threads busy- waiting

Sameer,

How long has ur system been up.

Check out your CPU & memory usage using TOP if your system has been up for a long time, and also verify the time how long the processes have been running on the box. You will be able to see all of this info through the "top" command.

If your system has been rebooted recently, you may increase the kernel parameter as told by others above ( i won't repeat the same). Mostly, this error is due to limited threads configured on your system, or it will be due to defunt processes on your system in a hung state.

Regards,
Anil
If you need to learn, now is the best opportunity