-
Notifications
You must be signed in to change notification settings - Fork 527
Error -4082 EBUSY resource busy or locked #684
Comments
Try with |
I'll try. But I delay introduced to mimic the actual code from my project, which is carried out quickly, but leads to the same error with frequent refresh the page. |
I Tried. Anyway, the problem persists. The new code of my method:
Is it correct? |
This is an interesting issue. It seems to me that Connection.Abort() deadlocked waiting on the I don't understand how this could happen, since the @tstar If you're using VS, can you disable Just My Code, attach the debugger when your page stops responding, and show us your full Parallel Stacks window? Thanks. |
@tstar Your new code is what @benaadams was suggesting, but I would like you to attach the debugger with the old code if the issue doesn't reproduce with |
Apparently I have no experience of how to attach a debugger to the Kestrel. If I just run my code from visual studio debug mode, my web page also stop responding, and Kestrel console does not respond to Ctrl + C. Sorry. |
If I start MVC application via IIS Express command, then web page frozen without any errors, because in this mode I haven't Kestrel console. I think, in this mode my site also work on Kestrel, because in Startup.cs I have code:
I'm right? |
@tstar your description was enough to allow me to reproduce the issue and I now see the deadlock that is causing this. Great find! Thanks. The deadlock occurs because tl;dr. Both I think the simplest solution is moving the call to |
Parallel Stacks? What is this witchery! |
Moving the call to |
Or I could |
I misread what @halter73 meant. I thought he meant to |
I'm getting HTTP 502.3 Bad Gateway (i have the correct Http Platform Handler installed). In the logs I see the following stack strace (towards the end I get the same error Unhandled Exception: Microsoft.AspNet.Server.Kestrel.Networking.UvException: Error -4082 EBUSY resource busy or locked ) Any ideas? Hosting environment: Production |
@santos222 Your issue seems to have a different root cause:
It could be an issue with mismatched dependencies. I would try deleting your |
@halter73 Same problem unfortunately, after performing those steps. |
@santos222 Can you share more details about your setup? Are you using DNX or dotnet? Which version? |
@santos222 Please open a new issue and share your details there. I'm closing this one since the change to fix it has been merged. |
I have minimal MVC application with one slow method Index in Home controller. I start dnx web and in browser run http://localhost:5000/. Then I press and hold F5 button for refresh page. After some time my page is not responded. After I trying to stop Kestrel via Ctrl+C I get error:
My Index method:
My project.json file:
The text was updated successfully, but these errors were encountered: