Operating System - Tru64 Unix
1753435 Members
4578 Online
108794 Solutions
New Discussion

number of blocked threads crossed maxuthreads.

 

number of blocked threads crossed maxuthreads.

How to avoid this error "number of blocked threads crossed maxuthreads" on the console. Is there any way to increase maxuthreads.

Thanks in advance,

Madhav
1 REPLY 1
Johan Brusche
Honored Contributor

Re: number of blocked threads crossed maxuthreads.

The command
# /sbin/sysconfig -q proc max_threads_per_user
#
will show you what the current limit is. With the the command:
# ps -Am -OTHREAD -u oracle | wc -l
you will find how many threads the user oracle (or other suspect of your choice) has launched.

If you want to allow more threads, then you need to put an entry in /etc/sysconfigtab like,

proc:
max_threads_per_user = 1636

and reboot.

However that so many threads are in the "blocked" state is usually not a good sign and you migth end up with runable threads waiting for a resource locked by a blocked thread. You should start running a tool like collect to monitor the resources on the system.

Johan.




_JB_