-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase stack size for host when running in IIS In-Proc #9394
Comments
ETA of the blocking issue is preview6. |
@anurse can the stack size limits cause issues with the inbuilt Dependency Injection or am I more likely having a dependency recursion problem? I'm having an overflow exception only present when using InProcess hosting. |
I'm not specifically aware of DI issues here, but it is certainly possible. The stack size when running in IIS is significantly smaller than when running as a standard .NET Console app. The easiest way to test is to run your app directly on Kestrel and see if you still hit the |
@anurse thank you for the timely response, I have no issues when running on Kestrel, hopefully this change in 3.0 fixes it up. |
Good to know! Yeah, that indicates you should have a better experience when we get this change in. |
Need to review if the corefx API is present. |
@Projkt-James We seemed to experience the issue with 2.2.x when doing model binding, particularly when re-executing a request in an error handler. |
Yep, I believe model binding can also produce fairly deep stacks. This should be improved with this coming change. |
dotnet/core-setup#5859 should be merge into our repo soon, so we can work on this. |
Still blocked on https://github.com/dotnet/coreclr/issues/21450 |
CoreCLR builds starting with dotnet/coreclr@6a85ca5 now support the There is also a runtime property |
Apparently we're behind on deps here, waiting on a new coreclr. BAR says we're 7 days old from coreclr and the commit referenced above is 7 days old. |
Acceptance checklist (check one item)
|
Epic #8833
Blocked by https://github.com/dotnet/coreclr/issues/21450
Once there's an API/Property to increase the stack size, we need to react to it in IIS in two ways:
The text was updated successfully, but these errors were encountered: