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

5 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

5 months ago

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


makosst
HOBBYOP

5 months ago

it is 1-1.3

1449559495305990234


5 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

5 months ago

Will try, thank you!


5 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.


5 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 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...