MongoDB container crashes suddenly for no reason
rfe-sdev
PROOP

3 months ago

Hi,

I recently deployed https://railway.com/deploy/librechat-official. Everything works fine, but a few minutes later the MongoDB database crashes without any error. I restart it, everything works fine, but a few minutes later the database crashes again. I can't keep the database online, and there are no error logs.

Can you please help me?

Solved$20 Bounty

11 Replies

Railway
BOT

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 3 months ago


3 months ago

if it crashed it should have an error... can you copy the deploy logs as text and paste it here?


mayori

if it crashed it should have an error... can you copy the deploy logs as text and paste it here?

rfe-sdev
PROOP

3 months ago

Here are the deployment logs.


rfe-sdev
PROOP

3 months ago

Thank you for your suggestions but none of them work.


3 months ago

what version of mongo you're running? is it 8.0?


3 months ago

I think railway server is bugged or something, I can't see the file, can you upload it to github gist instead?

Screenshot_2026-06-02-15-56-39-52_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Attachments


mayori

I think railway server is bugged or something, I can't see the file, can you upload it to [github gist](https://gist.github.com) instead? ![Screenshot_2026-06-02-15-56-39-52_40deb401b9ffe8e1df2f1cc5ba480b12.jpg](https://station-server.railway.com/attachments/att_01kt3rsjv1feztjr08depn9ad3)

rfe-sdev
PROOP

3 months ago


mayori

what version of mongo you're running? is it 8.0?

rfe-sdev
PROOP

3 months ago

8.2.9


mayori

what version of mongo you're running? is it 8.0?

rfe-sdev
PROOP

3 months ago

Capture d’écran 2026-06-02 à 11.06.06.png

Attachments


rfe-sdev
PROOP

3 months ago

I can confirm that this doesn't change anything. Here are the deployment logs with this option: https://gist.github.com/rfe-sdev/2eccf26a3873bdcc5f74276872e7398c


rfe-sdev
PROOP

3 months ago

We are using the full resources limit.


rfe-sdev
PROOP

3 months ago

The MongoDB instance has seemed stable for some time now after setting the environment variable.

For testing purposes, I duplicated my entire project into a new one (before setting the environment variable). The new project worked without any problems. Does this mean that, depending on where the project is deployed, the operating system and kernel used can vary? That would be quite surprising.

Thank you very much for your time and valuable help.


Status changed to Solved rfe-sdev 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...