MongoDB database suddenly crashing over and over
kweebac
TRIALOP

2 years ago

It worked fine for a few days, I haven't touched anything and it suddenly started crashing with this error (repeats over and over)

Initialized wire specification
Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize.
Successfully registered PrimaryOnlyService
Successfully registered PrimaryOnlyService
Multi threading initialized
Starting TenantMigrationAccessBlockerRegistry
MongoDB starting
Memory available to mongo process is less than total system memory
Build Info
Operating System
Options set by command line
Detected unclean shutdown - Lock file is not empty
Storage engine to use detected by data files
Recovering data from the last clean checkpoint.
Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem
Opening WiredTiger
WiredTiger opened
WiredTiger recoveryTimestamp
You are running on a NUMA machine. We suggest launching mongod like this to avoid performance problems: numactl --interleave=all mongod [other options]
/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never' in this binary version
vm.max_map_count is too low
Updated wire specification
current featureCompatibilityVersion value
Clearing temp directory
Initializing cluster server parameters from disk
Flow Control is enabled on this deployment
Initializing full-time diagnostic data capture
Setting new configuration state
Timestamp monitor starting
Listening on
Listening on
Listening on
Waiting for connections
mongod startup complete
Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost
Writing fatal message
Writing fatal message
Writing fatal message
BACKTRACE
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame```

19 Replies

kweebac
TRIALOP

2 years ago

b16ffa17-06ce-429b-9833-e14da8dba1c9


2 years ago

what is the current size of your volume? if it isn't 5gb then go ahead and grow it


kweebac
TRIALOP

2 years ago

Where do I see my volume?


2 years ago

it's attached to the mongo service


kweebac
TRIALOP

2 years ago

Do I find it under one of these?

1227308152576540733


2 years ago

no, it's on the project canavas


kweebac
TRIALOP

2 years ago

I don't understand 😭


kweebac
TRIALOP

2 years ago

I don't know what you mean by volume


kweebac
TRIALOP

2 years ago

Or where to find it


2 years ago

it's attached to your mongo service on the project canvas


2 years ago

You should see this below your mongo service (mine is postgres but it works the same way)


2 years ago

1227308715993071658


kweebac
TRIALOP

2 years ago

Found it, I set it to 5GB


2 years ago

are you sure you have clicked on the mongo volume?


kweebac
TRIALOP

2 years ago

I set this to 5GB, it was previously 500MB

1227308887066280069


2 years ago

okay it shouldn't crash anymore


kweebac
TRIALOP

2 years ago

It worked now, thank you for the help and sorry for the confusion earlier


2 years ago

no problem


Anonymous
TRIAL

2 years ago

How do I edit my volume?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...