Skip to content

ddev poweroff takes longer than it should, seems to hang after each project is stopped #8295

@rpkoller

Description

@rpkoller

Preliminary checklist

Output of ddev utility test or ddev utility diagnose

am on v1.25.1-57-g9039cd14d of HEAD

Expected Behavior

I would expect that the poweroff would run through with less or no stalling?

Actual Behavior

I've noticed for a while that ddev tends to "hang" for a while when powering off ddev:

Screen.Recording.2026-04-07.at.14.23.39.mov

debugging the poweroff the first project returns the following:

$> DDEV_DEBUG=true ddev poweroff
2026-04-07T16:21:54.899 Paused Mutagen sync session 'another' 
2026-04-07T16:21:54.899 Removing merged config for project with command 'rm -rf /mnt/ddev-global-cache/traefik/config/another_merged.yaml' 
2026-04-07T16:21:54.985 RunSimpleContainer: ContainerInspect attempt #1 for ddev/ddev-utilities:latest (container=afb2bfb5b42a) 
2026-04-07T16:21:55.050 RunSimpleContainer: ContainerInspect #1 returned after 65.527584ms for afb2bfb5b42a, err=<nil> 
2026-04-07T16:21:55.050 RunSimpleContainer: container afb2bfb5b42a state: Running=false Status=exited ExitCode=0 StartedAt=2026-04-07T14:21:54.932180875Z 
2026-04-07T16:21:55.108 Paused Mutagen sync session 'another' 
 Container ddev-another-db Removed  
 Container ddev-another-web Removed  
 Network ddev-another_default Removed  
Project another has been stopped. 

the first few lines run through immediately without any pause but after 2026-04-07T16:21:55.108 Paused Mutagen sync session 'another' is returned the second time the output hand. looks like the pausing of the mutagen sync session is causing that pause?

Steps To Reproduce

No response

Anything else?

No response

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