> >> On my server, the program crashes after 613 threads. > > Is this on i386? Yes. >Have you reduced the default stack size? I have tried to. And ulimit says my changes were accounted, but how to be sure the default stack size is what I said ?