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)
commit1a1a34b40ab10a195633b1ed5e2e9b42fdae0a78
tree43c513cab66f02bdcc49e8e8233e2272e8602b97
parent0452bf084c6d8416b88c2bb941e99eb4eec453b8
Fix: Set thread stack size to ulimit soft value

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>
src/bin/lttng-consumerd/lttng-consumerd.c
src/bin/lttng-relayd/live.c
src/bin/lttng-relayd/main.c
src/bin/lttng-sessiond/ht-cleanup.c
src/bin/lttng-sessiond/main.c
src/common/defaults.c
src/common/defaults.h
This page took 0.027299 seconds and 5 git commands to generate.