Fly.io Machines Stopping or Not Starting (Auto-Stop)

Share
Ongoing Fly.io Updated November 14, 2026Based on 3 user reportsHow we research

Quick answer

Machines stop when auto_stop_machines is enabled and there is excess capacity. If they never wake up, auto_start_machines is probably false.

Most likely fix: Make start and stop settings agree

How to fix it

Try these in order — the most common fix is first.

  1. 1. Make start and stop settings agree

    1. In [http_service] set auto_stop_machines = "stop", auto_start_machines = true
    2. Set min_machines_running = 1 to keep one Machine warm (primary region only)
    Did this fix it?
  2. 2. Stop it from exiting immediately

    1. Add an explicit CMD in the Dockerfile
    2. Run docker run <image> locally; if it exits there, it exits on Fly
    3. Check fly logs for the exit code
    Did this fix it?
  3. 3. Reduce cold start time

    1. Use auto_stop_machines = "suspend" for faster resume (a few hundred ms vs about 2s)
    2. Be aware suspend causes brief clock skew that can break JWT nbf checks and cron timing; use "stop" if so
    Did this fix it?

Symptoms

Machines go to stopped state, requests fail or the first request is slow, or Machines never stop.

Why it happens

  • auto_stop_machines enabled with auto_start_machines = false
  • Private apps not routed through Fly Proxy cannot trigger starts or stops
  • Container process exits on its own
  • Failed health checks
  • min_machines_running at or above Machine count blocks stopping

This guide also covers

  • fly.io machine stopped
  • fly.io auto stop machines
  • fly.io machine not starting
  • fly.io cold start

Still not working?

If Fly.io keeps failing, you're not alone. See every Fly.io problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Fly.io errors