DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
To Know Maximum Number Of Thread That Ca Be Handle By Your OS
The maximum number of thread that can be handle by the kernel
can see show as $ cat /proc/sys/kernel/threads-max
And for my system is 30568
tilokchan@tilokchan_ubuntu9.10$ cat /proc/sys/kernel/threads-max 30568 tilokchan@tilokchan_ubuntu9.10$
But one can change it as $echo 40000>/proc/sys/kernel/threads-max
tilokchan@tilokchan_ubuntu9.10$echo 40000>/proc/sys/kernel/threads-max tilokchan@tilokchan_ubuntu9.10$ cat /proc/sys/kernel/threads-max 40000




