Service seems to fail to respond after X period
Hi,
I launched a proof of concept today and every hour orso my service, which runs NextJS, seems to fail to respond. It just keeps on trying to navigate to the page but it stays blank. There is nothing in the deploy logs, and only a restart of the service seems to fix it.
Any idea what this could be? I'm about to add sentry to make sure its not on my end.
Solution:Jump to solution
im pretty confident in saying that this is a out of memory issue, node behaves in strange ways when it runs out of memory
14 Replies
Project ID:
99c75b3b-d1aa-4328-b066-cd798e192be7
99c75b3b-d1aa-4328-b066-cd798e192be7
are you on the trial plan?
Yeah
Oh this sounds obvious, I suppose there is some kind of limit on traffic it handles?
no but there is a limit on memory, 512mb
so what do your memory metrics look like?
you can tell I did a restart a few min ago
around 6:03 orso it stopped responding
'
Solution
im pretty confident in saying that this is a out of memory issue, node behaves in strange ways when it runs out of memory
Might explain. I will upgrade and see if it happens again, if not I will mark it as solved 🙂
sounds good!
Ah might also be a good thing to give it a health endpoint, didnt realise I had to set it up myself.
Is there anything else i have to do after changing the plan or will it migrate the project automatically?
youd just need to click redeploy!
yep always good to setup a health check
Looks like the fix. I suppose it would have tried to restart itself with an actual health endpoint but nonetheless I had to upgrade anyway! Cheers