Skip to content

Stop using child process for downloading URL's#1771

Closed
nanonyme wants to merge 1 commit into
apache:masterfrom
nanonyme:blocking-activity
Closed

Stop using child process for downloading URL's#1771
nanonyme wants to merge 1 commit into
apache:masterfrom
nanonyme:blocking-activity

Conversation

@nanonyme

@nanonyme nanonyme commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Related to #1766 and #1761 This makes things really hard to debug when there are errors and downloading is mostly done with GIL dropped.

This makes things really hard to debug when there are errors and
downloading is mostly done with GIL dropped.
@abderrahim

Copy link
Copy Markdown
Contributor

It just crossed my mind that maybe what was meant by "starving the scheduler" isn't actually about the GIL. Can you please try to terminate a fetch during download and see if it works?

@nanonyme

nanonyme commented Oct 7, 2022

Copy link
Copy Markdown
Contributor Author

Good point. Though I don't think termination works right now either. You get a really miserable set of stacktraces which eventually maybe results in stopping.

@nanonyme nanonyme marked this pull request as draft October 8, 2022 13:08
@nanonyme

nanonyme commented Oct 8, 2022

Copy link
Copy Markdown
Contributor Author

I converted this into draft so won't be accidentally merged before the important question is answered.

@nanonyme

Copy link
Copy Markdown
Contributor Author

@abderrahim has better fix for this at #1814

@nanonyme nanonyme closed this Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants