#Automatic Scaling not working

19 messages · Page 1 of 1 (latest)

vocal pine
#

Project Id: 70ab406f-186f-40f7-ac61-c1a8dcb4bbb9

I am a user on the Hobby plan, the scaling on my project was working fine, i had an expired credit card and ended up losing the subscription for a few days. My subscription is currently active again but now scaling on my project doesn't work, in the Metrics panel i can see that the Memory usage isn't going over 512MB where previously it would go above it by about 5-6x. My service deployment on this project is now constantly crashing probably due to the limited memory is my guess.

glossy gladeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

dense rainBOT
#

Project ID: 70ab406f-186f-40f7-ac61-c1a8dcb4bbb9

drifting hill
#

have you done a full redeploy of the service?

vocal pine
drifting hill
#

there is no way to allocate more resources to your service without having to redeploy

#

you're talking about automatic scaling? railway doesn't automatically scale any resources

vocal pine
#

I guess it's not really automatic scaling, it's just allocation of resources. I am on the hobby plan which means that "Your plan includes up to 8 GB of RAM, 8 vCPU, and 100 GB of Shared Disk.". But i can clearly see a cap of 512 MB of RAM on my project which is the cap of the free tier/trial tier.

vocal pine
drifting hill
#

you where bumped down to the trial resources when your payment declined, to get your deployment back up to the hobby resources you will have to redeploy

#

I see this same question all the time
"I've upgraded to hobby but can't use more than 512mb of ram"
the answer being, simply redeploy. railway can not allocate extra resources to a running docker image

vocal pine
#

Got it, ok thanks

drifting hill
#

same with a hobby to pro upgrade, you need to redoploy your service to get your service to use the pro resources

vocal pine
#

Thanks for the answer though

drifting hill
#

you can't add extra cpu or memory to a running deployment the same way you can't swap out your cpu or add extra memory to a running computer

#

and yes 100% agree the documentation for this could be so much better, but if i recall correctly they want to improve the upgrade flow making it self explanatory so there's no room for confusion in the first place

vocal pine
#

but anyway, it's fine, thank you!