MongoDB Service Hick Ups / Spikes on Memory
Anonymous
TRIALOP

2 years ago

Hi, I'm maintaining a web-3 service on Polygon network basically an API that we use, and once in a while I get this huge spike on memory which I do not understand where this is coming from. We have a small user base and I'm a bit skeptical. Can you help?

17 Replies

Anonymous
TRIALOP

2 years ago

6b26e039-2715-4aea-8d46-efb8c7eada0c


Anonymous
TRIALOP

2 years ago

also experienced this around end of June, which resulted to a huge payment as well (already paid)

1264686199239479300


Anonymous
TRIALOP

2 years ago

the downtimes is me restarting the service, which results to me restarting it every day now or so, it seems to me that there is a memory leak happening, any ideas that can help me track it?


2 years ago

I think this question would better be asked in some kind of mongo forum or community as railway is simply running the stock MongoDB image and reporting on how much memory it's using


Anonymous
TRIALOP

2 years ago

this is the MongoDB instance it's connecting on - which I don't have a problem with

1265111334400295200


Anonymous
TRIALOP

2 years ago

I'm more concerned with the spikes happening on the API


2 years ago

oh my bad, your title mentioned mongo so i assumed these screenshots where for the mongo service.

is api service on the v2 runtime?


Anonymous
TRIALOP

2 years ago

I'm not sure, how do I check if it's on v2?


2 years ago

in the service settings


Anonymous
TRIALOP

2 years ago

ah yes

1265112522386571300


2 years ago

then there wouldnt be issues with memory reporting, thats simply what your app is using


Anonymous
TRIALOP

2 years ago

hmmm could there be a chance that a user is hitting the API multiple times as a script?


2 years ago

it looks like a memory leak to me, so either an issue with your own code, or a 3rd party library you are using


Anonymous
TRIALOP

2 years ago

any way I could possibly track this memory leak? sorry new to this


2 years ago

im sorry but this is not the level of support we could provide as it does not relate to railway, im sure there are many great tutorials on how to tackle this


Anonymous
TRIALOP

2 years ago

alright, thanks for the help Brody


2 years ago

i wish you the best of luck!


Loading...