Maximum number of threads in my linux system is 93946.
I got this value from cat /proc/sys/kernel/threads-max.
But when I create around 32768 threads I got error 
cannot create new native threads
- How can I create maximum number of threads(around 93946)? 
- If it is not possible to create maximum number of threads (93946), how can I find maximum number of threads allowed to run? 
 
     
     
    