On 8/30/05, linux lover <caprianking2002@xxxxxxxxx> wrote: > hi all, > i hav a problem related to threads. > i hav created a user program in which i create multiples files and for each > file i create a thread to write on. Please mention the problem. The reason being that this is not a good model to do stuff on linux. Maybe there is a better solution. > Upto 28 threads its working fine but when i increase the threads to 29 , not > all threads are created successfully. > After 12-13 thread, it starts returning EAGAIN error in pthread creation. Always mention the kernel version you are using. Older Linux kernels in 2.4 series used linux threads which had a manager thread etc. But from 2.6 or so, NPTL is being used. > > can anyone help me -- The difference between Theory and Practice is more so in Practice than in Theory. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/