This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients exarkun, lukasz.langa, marche147, methane, miss-islington, ned.deily, ronaldoussoren, v2m
Date 2022-01-06.16:52:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:20ronaldoussorensetrecipients: + ronaldoussoren, exarkun, ned.deily, methane, lukasz.langa, miss-islington, v2m, marche147
2022-01-06 16:52:20ronaldoussorensetmessageid: <>
2022-01-06 16:52:20ronaldoussorenlinkissue34602 messages
2022-01-06 16:52:20ronaldoussorencreate