Fix: Set thread stack size to ulimit soft value
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 15 Jun 2016 21:18:07 +0000 (17:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Jun 2016 23:29:53 +0000 (19:29 -0400)
Some libc don't honor the limit set for the stack size and use their own
empirically chosen static value. Detect this behavior by checking if the
current stack size is smally than the soft limit and in that case set
the pthread stack size to soft limit value.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.03037 seconds and 5 git commands to generate.