I have seen in my ubuntu server that the value of threads-max is 129573.Then i run myprogram and after a while the terminal shows the error with-: system error:resource temporarily unavailabe.Then i see my total threads which is running in my os which prints out 32509.I printed it out with the command ps -A |wc -l .I have also tried to set the process limit in /etc/security/limits.cnf and have set it to the value of threads-max but still i am getting this error.(by the count it shows that i havent reached the threshold limit,so how am i getting this error?). Thanks, Kushal
Asked
Active
Viewed 383 times
info ps
,nlwp NLWP number of lwps (threads) in the process. (alias thcount)
– sudodus Jun 27 '17 at 14:54