Quote:
Originally Posted by sudevank
I am running one service which creates three levels of threads . (ie main thread creates a thread , new one creates another like that ) [...] But after a number(around 1500) of iteration pthread_create fails with error EAGAIN.
|
3 nesting levels, creating about 1500 threads each?
So, roughly: 3375000000 thread are created, and then your program fails reporting "EAGAIN" (which means according to the man page "not enough system resources").
No. Sorry. Must be a kernel bug or something.