Deployment restarts constantly error
mihai373
PROOP

a year ago

Project ID: 4d88bd05-8122-4159-90e0-4dc061af6807
I'm hosting an n8n instance on Railway and unfortunately every few hours the Railway deployment restarts, causing an error in our n8n and crashing our active n8n workflows. At the time of the crash, Railway showed this error I've screenshotted. How can we make sure the deployment doesn't restart constantly?

14 Replies

brody
EMPLOYEE

a year ago

is this a Worker or the Primary service?


mihai373
PROOP

a year ago

Primary


mihai373
PROOP

a year ago

1342531289118544000


mihai373
PROOP

a year ago

Primary


medim
MODERATOR

a year ago

what's the ram usage like?



medim
MODERATOR

a year ago

seems related


brody
EMPLOYEE

a year ago

yeah they havent hit their limit, thats what i was gonna recommend too, set a service variable - NODE_OPTIONS=--max_old_space_size=8192


mihai373
PROOP

a year ago

Thanks.

Does it make sense to set this variable for Worker too?


brody
EMPLOYEE

a year ago

yes i would definitely set it on the worker too, regardless, it wont hurt


mihai373
PROOP

a year ago

thanks!


brody
EMPLOYEE

a year ago

the template has now been updated with these by default


mihai373
PROOP

a year ago

Hi guys,

I implemented these changes to both worker and primary, and I upgraded to pro plan and increased the Postgres rhythm volume to 20gb instead of 5gb

Since then, navigating through n8n, as well as the workflow executions, became extremely slow

I removed these variables to see if it would get back to normal, and it works even slower now

What might be the reason?


brody
EMPLOYEE

a year ago

Are all your services in the same region?


Loading...