Open DRMacIver opened 10 months ago
I found this very difficult to track down, so worked around it by making the default queue length unlimited. Leaving the issue open as a pointer towards issues that arise with limited queue length, but that's no longer a likely configuration.
Working on some new code I forgot to use the workaround for #130 when creating a very large number of parallel tasks using aiobotocore.
Here's a simplified example triggering it:
As well as the initial exception from #130 (which is expected), this gives a bunch of other interesting internal errors:
In particular:
Then once a really large number of errors like that have finished, we start seeing:
Presumably there's some underlying root problem causing all these things to go wrong together, I'm not sure. The GLOBAL_RUN_CONTEXT.runner bit at the end is super suspicious - the only place I can find that can delete that attribute is here, but as far as I know this code isn't ever forking.