I'm finding that when I try to reduce the stack size with ThreadStackSize on recent linux systems, where ulimit -s is NOT unlimited (but very large, 10240K) , ThreadStackSize fails to have any effect (via pmap / ps -eFw).
When ulimit -s is unlimited, and the default is very large, ThreadStackSize works. Has this always been the case? If so, I'd like to document for Linux that you're best off heading straight to ulimit / limits.conf. (I looked at RHEL4 and RHEL5 with recent maintenance) -- Eric Covener cove...@gmail.com