My service is capping at 2gb and 1 vcpu, how can I get more for 1 task? (nextjs project)
makosst
HOBBYOP

10 months ago

I have a long-running process, and the account is limited to 8gb ram + 8vcpu, but I get only 2gb and 1vcpu

Solved

6 Replies

10 months ago

Are the service metrics showing that the process isn't exceeding 1 vCPU?


makosst
HOBBYOP

10 months ago

it is 1-1.3

1449559495305990234


10 months ago

Programs aren't multi-threaded by default, you'd have to update your Next.js project to run your task in multiple threads


makosst
HOBBYOP

10 months ago

Will try, thank you!


10 months ago

Also, if you just upgraded recently to the Hobby plan, make sure to re-deploy your applications, as the new 8GB + 8vCPU limits only take effect after a re-deployment. If you've already done this, then refer to Astrid's answer.


10 months ago

Also, forgot to mention but you're also able to use Railway's replicas

https://docs.railway.com/reference/scaling#horizontal-scaling-with-replicas


Status changed to Solved passos • 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...