Fly io app running, despite auto stop set to stop

Hi everyone. Hope you’re all well. I am new on fly.io
Thing is, I am working for my organization and my fly.toml files have this in them

[http_service]
  internal_port = 5050
  force_https = true
  auto_stop_machines = 'stop'
  auto_start_machines = true
  min_machines_running = 0
  processes = ['app']```

Thing is, I notice my app running most of the time even though I am sure it is not receiving any app (this is a backend REST api).

I checked on fly.io webpages and couldn't understand somethings. For example, how much idle time does it wait for the app before it shuts it down? 

I am hoping any one of you could help me understand the behavior of this auto_stop and auto_start feature.

Thank you

Hi,

It may be worth checking the logs with flyctl logs to see if unexpected requests are arriving that may be keeping it going. For example any bots.

The idle time may be documented, however I believe it should be at most a few minutes. At least based on this line:

If the proxy decides there’s excess capacity, it stops or suspends exactly one Machine. The proxy repeats this process every few minutes

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