MongoDB container crashes suddenly for no reason
rfe-sdev
PROOP

11 days 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

11 days 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 11 days ago


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


mayoriii

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

rfe-sdev
PROOP

10 days ago

Here are the deployment logs.


rfe-sdev
PROOP

10 days ago

Thank you for your suggestions but none of them work.


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


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


mayoriii

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

10 days ago


mayoriii

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

rfe-sdev
PROOP

10 days ago

8.2.9


mayoriii

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

rfe-sdev
PROOP

10 days ago

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

Attachments


rfe-sdev
PROOP

10 days 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

10 days ago

We are using the full resources limit.


rfe-sdev
PROOP

10 days 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 10 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...