Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: svn - cannot allocate mem
in an attempt to reproduce the problem i wrote a simple program that
simply creates a number of processes and each process creates a number
of threads. i'm not able to reproduce the "lwp_ctl" error case, but
the default stack size does limit the number of threads well before
the actual limit on threads. with the default 8MB stack size, one
runs out of VA space for in 32 bit user some point after about 450.
(infact, my patch below removes 128MB of space from the user VA space,
going from 3G to 2+7/8 G, which means the total number of lwps that
can be created is reduced by 16 or so - 128 / 8.
this is not the same problem Riccardo reported originally, where it
is a lwp_ctl() call that fails.
trying to consume more resources to see if can get that failure mode.
.mrg.
Home |
Main Index |
Thread Index |
Old Index