why my app is sleeping


I have prettly basic node app (chat bot) that I deployed months ago. It is very basic app that doesn’t have db connection. My app started became unavailable recently when I go fly.io and click around a bit it does become availble. Did you introduce new change to platform that puts apps into sleeping mode by any chance?

No, we’re not suspending apps and we never will. Do you see anything in your logs that might explain it? Is the process crashing?

I couldn’t fetch the logs Michael. It says Waiting for logs... and it hangs there. Name of the app is twilight-frog-9274

I just pulled up some logs and it looks like your VM is running out of memory and crashing. Lots of these in the logs:

[   81.579559] Out of memory: Killed process 543 (node) total-vm:403420kB, anon-rss:159124kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:4772kB oom_score_adj:0