Overview
| Artifact ID: | dad0175e593d2606c5e81e427abceeea2f3a9e35 |
|---|---|
| Ticket: | 3584573fffffffffffffffffffffffffffffffff
cannot set thread stack size on linux |
| User & Date: | dvrsn on 2012-11-07 07:54:19 |
Changes
- icomment:
This does limit the number of threads that can be created on a 32-bit system to a much smaller number (around 365 on my machine) than would otherwise be the case. It's possible to adjust the overcommit behavior, although I doubt doing so is very common. It also may be the case (I wasn't able to find a definitive answer one way or the other) that in some virtualized environments (e.g., OpenVZ) the OOM killer looks at allocated rather than used pages. This could lead to threaded apps being unfairly targeted.
- login: "dvrsn"
- mimetype: "text/plain"
- username: "dvrsn"