MongoDB crashing
jstafford5380
HOBBYOP

2 years ago

Hi, my mongodb container that has been running for a while now started crashing. Not really getting a ton of feedback as to why. I've restarted and the daemon starts but then crashes a few moments later. Not sure if something going on with the backend. This is the mongodb container itself, not the app that's connecting to it.

8 Replies

brody
EMPLOYEE

2 years ago

Super common for mongo to crash because it ran out of disk space, you will want to upgrade to hobby for access to 5gb volumes, then you can go into the volumes settings and grow thr size from 500mb to 5gb


jstafford5380
HOBBYOP

2 years ago

I doubt that's it. It's a small dataset and does not grow. The only operation I have is a truncate and load of a dataset about 400 documents each with 3 small properties. It has been the same for the last week.


brody
EMPLOYEE

2 years ago

It's super common, mongo tries to allocate more than 500mb of storage even though you may not have anywhere near that much data.


jstafford5380
HOBBYOP

2 years ago

The data metrics says is 195MB


brody
EMPLOYEE

2 years ago

Let me know if you have any issues after growing the volume to 5GB


jstafford5380
HOBBYOP

2 years ago

Ok just waiting for it to come up


jstafford5380
HOBBYOP

2 years ago

Well it's up and running now and I'm somewhat annoyed but also glad it's working. Thanks for the help


brody
EMPLOYEE

2 years ago

Mongo is definitely annoying.


Loading...