Skip to content

Deadlock on workers reaching memory.pause threshold  #5235

Closed

Description

@gerrymanoim

Apologies - I'm not sure exactly how to provide a code example that triggers this condition, but here's what I observed:

Sometimes at the end of long runs with 1000s of tasks, I've found that there are straggler tasks that seem to be stuck on workers. These workers seem to be at the memory.pause 0.8 mark and the amount of stuck tasks is equal to the threads available to the dask worker. The workers are heart beating just fine, but don't seem to be actually doing anything with the tasks they're processing (callstacks for each task are blank). Other workers aren't stealing these tasks. When I go kill the workers, the scheduler will go reassign those tasks and everything will complete as normal.

Activity

  1. jrbourbeau commented on Oct 14, 2021

    @jrbourbeau
    Member

    @fjetter @crusaderky, by chance, have either of you run into this scenario before?

  2. crusaderky commented on Oct 14, 2021

    @crusaderky
    Collaborator

    Yes. See #3761. It will be fixed within the next few weeks.

  3. gerrymanoim commented on Oct 14, 2021

    @gerrymanoim
    ContributorAuthor

    Thanks! That's via #5381?

  4. crusaderky commented on Oct 14, 2021

    @crusaderky
    Collaborator

    It will likely be a separate PR

  5. jrbourbeau commented on Oct 14, 2021

    @jrbourbeau
    Member

    Thanks @crusaderky! Closing as a duplicate of #3761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions