Issue with me deployment

i have a deploy a project on koyeb free plan but after some time, it’s going in sleeping mode.

This is now a standard behavior on Service running on a Free instance.

Free Services now automatically scale down to zero if they don’t receive traffic for 1 hour. Instances will automatically wake up within seconds upon receiving an HTTP request. This change helps sustain the cost of operating our free tier at scale.

ok thanks for letting me know

Sorry for jumping in,
with a HTTP request you mean an API call to any service or an HTTP request to a specific one?

Any HTTP request to your sleeping service will wake it up.

Can you clarify : your reply says scale-to-zero operates after 1 hour.
Most of Koyeb documentation says after 5 minutes.
Which is correct ?
Are instances on starter plan 1 hour and paid plans 5 minutes ?
Can you please ensure documentation is up to date, as I’ve spent literally hours today attempting to debug and rebuild instances before moving to production/paid plan (my previous instance on Starter Plan was going to sleep after 5 minutes but a rebuild doesn’t seem to go to sleep at all - maybe I’ve not left it long enough).

So it’s now >6 hours hours idle, checked metrics.
But not scaled to zero.

Not comfortable with going to paid plan when this functionality (which used to work) does not work.

Checked instance logs : no activity between 23:37 last night and 09:00 this morning.

Additional stats :

All clients in browsers were closed overnight.
No other access programmatically
I don’t see why scale-to-zero did not kick in

Hi!

We are investigating your issue with Scale to Zero. I’ll get back to you on this.

Can you clarify : your reply says scale-to-zero operates after 1 hour.
Most of Koyeb documentation says after 5 minutes.
Which is correct ?
Are instances on starter plan 1 hour and paid plans 5 minutes ?
Can you please ensure documentation is up to date, as I’ve spent literally hours today attempting to debug and rebuild instances before moving to production/paid plan (my previous instance on Starter Plan was going to sleep after 5 minutes but a rebuild doesn’t seem to go to sleep at all - maybe I’ve not left it long enough).

You are correct that the documentation is confusing. The Free instances scale to zero after 60 minutes of inactivity. It is not correlated to your plan. The Standard CPU and GPUS instances scale to zero after 5 minutes of inactivity. We’ve also released the capability to customize this 5-minute inactivity period between 3 and 60 minutes when you are on a Pro plan and above.

I will update the documentation to make it clearer.

1 Like

The scale to zero issue should be fixed. Sorry for the inconvenience @Tim_Considine .

1 Like

Great, thank you for investigating/resolving.
I appreciate it.

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