Maximum number of threads
Maximum number of threads
Posted Jun 20, 2017 6:39 UTC (Tue) by thestinger (guest, #91827)In reply to: Maximum number of threads by flussence
Parent article: Preventing stack guard-page hopping
It only uses that 2M value if the stack rlimit is set to unlimited. Secondary stack size is usually 8M because the rlimit for the main thread stack is usually 8M, not unlimited.