Message409879
> My understanding of the resolution of this ticket is that it is still not possible to use setrlimit with RLIMIT_STACK to raise the soft stack limit. Is that correct?
Yes, the code in msg324731 still fails. We're still using the mechanism described in msg324818, but with a larger stack size for some builds.
It is rather annoying that -Wl,-stack_size,NNNN sets a hard limit on the stack size, rather than overriding the soft limit.
I guess we could change the startup code for the interpreter executable (Py_Main or related code) to set the RLIMIT_STACK to a larger value when it is too small, that way applications can still pick a different (and in particular larger) value.
@ned.deily, @lukasz.langa: reopen this issue or open a new one? |
|
Date |
User |
Action |
Args |
2022-01-06 16:52:20 | ronaldoussoren | set | recipients:
+ ronaldoussoren, exarkun, ned.deily, methane, lukasz.langa, miss-islington, v2m, marche147 |
2022-01-06 16:52:20 | ronaldoussoren | set | messageid: <1641487940.82.0.323676557701.issue34602@roundup.psfhosted.org> |
2022-01-06 16:52:20 | ronaldoussoren | link | issue34602 messages |
2022-01-06 16:52:20 | ronaldoussoren | create | |
|