fly machines not auto stopping even when auto_stop_machines = ‘stop’

I don’t know how but my fly machines keep running indefinitely. Before 1st December my machines auto stopped after about 5 minutes of idleness. Now I have to manually stop my machines to save cost. below is my fly toml

app = ‘my-app’
primary_region = ‘lhr’

[build]

[http_service]
internal_port = 5000
force_https = true
auto_stop_machines = ‘stop’
auto_start_machines = true
min_machines_running = 0
processes = [‘app’]

[[vm]]
memory = ‘1gb’
cpu_kind = ‘shared’
cpus = 1
memory_mb = 1024

Hi, can you share the name of the app so I can have a look?

  • Daniel

bouquet-gh-prod and bouquet-staging

Hi, we found an machine that was cordoned by mistake and that messes with its auto-stop feature.

fly m uncordon 48e4549f317e28 is likely to fix it. Let me know if it does!

Also probably worth trying to force-uncordon machines on both your apps in case the same happened there.

  • Daniel

okay thanks. I will try that

it worked. Thank you

hi again @roadmr is it normal for both of my fly machines to spin up when just one device I am using to test makes a request to my api?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.