Kaleb KEITHLEY has uploaded this change for review.
threads: set appropriate thread stack size for fridge and ntirpc workers
Allow the user to set thread stack size with a command line option.
See https://github.com/nfs-ganesha/ntirpc/pull/280
glibc's default thread stack size is 8M. N.B. This can be overridden
across the whole process by setting the stack size with ulimit; by
default threads will inherit the same size for their thread stack.
Empirical testing shows that ganesha works with a thread stack size
as small as 16K (the glibc minimum). The same testing shows that ganesha
works with ntirpc worker thread stack size of 32K.
Change-Id: Ie090175477327a0e72307e3a2282d90f15489f3b
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
---
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_lib.c
M src/MainNFSD/nfs_main.c
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/include/common_utils.h
M src/include/nfs_init.h
M src/support/delayed_exec.c
M src/support/fridgethr.c
8 files changed, 71 insertions(+), 13 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/1177874/1
To view, visit change 1177874. To unsubscribe, or for help writing mail filters, visit settings.