R
Railway•3mo ago
Kweebac

MongoDB database suddenly crashing over and over

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
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
Solution:
what is the current size of your volume? if it isn't 5gb then go ahead and grow it
Jump to solution
17 Replies
Percy
Percy•3mo ago
Project ID: b16ffa17-06ce-429b-9833-e14da8dba1c9
Kweebac
Kweebac•3mo ago
b16ffa17-06ce-429b-9833-e14da8dba1c9
Solution
Brody
Brody•3mo ago
what is the current size of your volume? if it isn't 5gb then go ahead and grow it
Kweebac
Kweebac•3mo ago
Where do I see my volume?
Brody
Brody•3mo ago
it's attached to the mongo service
Kweebac
Kweebac•3mo ago
Do I find it under one of these?
No description
Brody
Brody•3mo ago
no, it's on the project canavas
Kweebac
Kweebac•3mo ago
I don't understand 😭 I don't know what you mean by volume Or where to find it
Brody
Brody•3mo ago
it's attached to your mongo service on the project canvas
cody
cody•3mo ago
You should see this below your mongo service (mine is postgres but it works the same way)
cody
cody•3mo ago
No description
Kweebac
Kweebac•3mo ago
Found it, I set it to 5GB
Brody
Brody•3mo ago
are you sure you have clicked on the mongo volume?
Kweebac
Kweebac•3mo ago
I set this to 5GB, it was previously 500MB
No description
Brody
Brody•3mo ago
okay it shouldn't crash anymore
Kweebac
Kweebac•3mo ago
It worked now, thank you for the help and sorry for the confusion earlier
Brody
Brody•3mo ago
no problem