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

Bug#204691: libc6: stacksize is too small



On Sat, 2003-08-30 at 17:45, GOTO Masanori wrote:
> I wonder it's really safe.  If we create a lot of threads like Java
> EJB environment, we consume virtual memory four times faster than the
> current implementation.  You find STACK_SIZE is a boundary for each
> thread.  The right way is to support floating stack (thus libc6-686)
> or nptl + tls, I think.  I'm afraid this patch affects badly.

Ah.  Does Java really create that many threads?

If it does, then you're right: we will have to back out this patch, and
applications that need abnormally large thread stacks must allocate them
by hand.

p.




Reply to: