App died for a reason I cannot tell...

App got killed, don’t know why, was running fine, now it’s just stuck in ‘pending’. It was running fine for a few days, then suddenly I noticed it was just down. But logs don’t say why.

still-glitter-730.fly.dev

still-glitter-730

We might need a little bit more context to help you. Is this a webapp if so may I ask you more details such as the framework? Can you take a look at the logs and check if something is making your process exit?

fly logs -a still-glitter-730

It just came online again, which I don’t understand…

I can give logs tomorrow, but it’s random for it to just drop and restart. Unless that’s what fly does if something goes down?

And… It’s down again lol

Maybe there’s something on your server throwing and making the app go down?

You can indeed config your app to restart upon failure if the checks don’t pass anymore.

How would I set it up to auto restart?

It is possible that something is killing it, I’ll need to check.

It should probably already be set as that on your fly.toml

...the rest on top...

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"
1 Like

Will find out tomorrow, it goes up and down, and up and down.

1 Like