[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Maximum number of threads



Hrvoje Niksic wrote:

> {frost}[~/c]$ ulimit -s 48
> {frost}[~/c]$ ulimit -u 100000
> {frost}[~/c]$ ./a.out 10000
> Creating 10000 threads...
> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
> 28 29 30
> [...]

Did you change /proc/sys/kernel/threads-max?  There have been threads
about this on this list before.  See the archive.

https://listman.redhat.com/pipermail/phil-list/2002-October/000076.html


This is one example.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]