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

2 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

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


makosst
HOBBYOP

2 months ago

it is 1-1.3

1449559495305990100


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

2 months ago

Will try, thank you!


passos
MODERATOR

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


passos
MODERATOR

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


Loading...