Sleeping app service!

Instance: ffeb2720

Sleeping cause: Triggered because service has been updated or redeployed.

Log:

— Real-Time Resource Monitor —

RAM Usage : 123.25 MB

CPU (delta) : User 180.55 ms, System 1.15 ms


npm error path /workspace

npm error command failed

npm error signal SIGTERM

npm error command sh -c node bot.js

npm error A complete log of this run can be found in: /tmp/npm_cache/_logs/2025-06-03T11_57_54_103Z-debug-0.log

Instance stopped.

Sometimes my hobby plan i get message triggered because service has been resume !!!

Instance goes sleeping even not make update or commit another change !
Notice: my app service use websocket (to calculate data received) and RPC (only one check at the first run).

I have this too on both N300s and the Free instance.
Adding a Cronjob fixed it for me.

Edit: based on your edit it appears you are getting errors, my solution is only for healthy services randomly going to sleep without a clear reason.
Edit 2: my answer is not a solution to this topic, but I won’t delete it as it might help people who come here because of the title of this topic

1 Like

Thanks for Replying, but This is not a radical solution