Bando de dados MongoDB
agendanamao
PROOP

2 years ago

Olá, recente estou perdendo a conexão com o banco mongoDB, o servidor estar passando por alguma manutenção ou falhas?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

18 Replies

brody
EMPLOYEE

2 years ago

Hello, this is an English only community, please use English, thank you for understanding.


agendanamao
PROOP

2 years ago

OK.
Recently my mongoDB database not staying connected. Is the service undergoing any updates or something like that?

brody
EMPLOYEE

2 years ago

The ongoing incident should not affect connections, where is your database hosted?


agendanamao
PROOP

2 years ago

my bank is on the us east server

brody
EMPLOYEE

2 years ago

Is it hosted on Railway?


agendanamao
PROOP

2 years ago

Is it hosted on Railway? Yes


brody
EMPLOYEE

2 years ago

Are you connecting to it via the private network?


agendanamao
PROOP

2 years ago

Are you connecting to it via the private network? No


brody
EMPLOYEE

2 years ago

Please go ahead and do that, you can use the private url variable.


agendanamao
PROOP

2 years ago

After updating the url to private, and deploying again. the mongoDB database is not active.pensive emoji


brody
EMPLOYEE

2 years ago

What is the state of the database now?


agendanamao
PROOP

2 years ago

CRASHED

Attachments


brody
EMPLOYEE

2 years ago

Do you know why it crashed? check the deploy logs.


agendanamao
PROOP

2 years ago

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

Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost

BACKTRACE


brody
EMPLOYEE

2 years ago

How much storage does your mongo database volume currently have used?


After checking, there is enough storage. You might need to handle your Mongo connections and reuse connections rather than reusing the existing connections.

Thanks,
Angelo


agendanamao
PROOP

2 years ago

I uploaded my recent database, as it had little data, I deleted it and uploaded another one. So far the connection is ok.


That won't solve the root issue as the issue is likely how you are handling connections to the MongoDB instance.


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...