This question relates to monitoring. The tool that I use (Check_MK) sets a number of threads warning limit at 2000. This number is taken from /proc/loadavg:
[foo@bar ~]$ cut /proc/loadavg -f4 -d\ 2/2001 [foon@bar ~]$
The number in question is the one after the forward-slash. Is it possible, given a number of CPUs (or other parameters) to calculate a threshold for this metric?