Skip to content
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

add queue timeout for 30 seconds #60

Closed
wants to merge 2 commits into from
Closed

add queue timeout for 30 seconds #60

wants to merge 2 commits into from

Conversation

EdenWuyifan
Copy link
Collaborator

Fix the issue on UNIX system after removing SIGALRM, where the process will be stuck at Queue().get() if the multiprocessing process keeps running.

@aecio
Copy link
Member

aecio commented Aug 4, 2023

@EdenWuyifan Were you able to verify that the blocking was indeed the issue?

@EdenWuyifan
Copy link
Collaborator Author

@EdenWuyifan Were you able to verify that the blocking was indeed the issue?

I still cannot recreate the exact issue you mentioned earlier. But this PR will protect this multiprocessing processes anyway.

Can you ask the guy who raise this issue about the problematic scene?

@roquelopez
Copy link
Collaborator

The error was caused by the start mode used in multiprocessing (spawn or fork). It's not related to queue. I'm going to close this PR.

@roquelopez roquelopez closed this Nov 20, 2023
@roquelopez roquelopez deleted the fix_queue_get branch November 20, 2023 18:34
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.

3 participants