mongodb container keeps crashing today, no load on the server (no access at all...)
koombal
HOBBYOP

2 years ago

project id: 3c844d3f-4881-4397-a46c-69c77b48fcc0

53 Replies

2 years ago

You're on the trial plan and are limited to 500GB Volumes, MongoDB can not happily run with only 500MB, you will need to upgrade to the Hobby plan for access to 5GB volumes, after the upgrade go into the volume's settings to grow it to 5GB.


koombal
HOBBYOP

2 years ago

ok, it was working fine for 10 days or so


2 years ago

yep, you ran out of storage


koombal
HOBBYOP

2 years ago

well, there were 2 records in one collection (really small ones, a few text/int fields) and another 40 records with mostly text. the server was not accessed for a few days so it's a bit weird that it started crashing. i deleted now all the 40 short text records and the server keeps crashing - are we sure this is the problem? there were no issues until yesterday, it never crashed. now it's empty and keeps crashing.
how can i be certain that your infra is reliable when i go to prod?…


2 years ago

I am absolutely certain, this happens all the time for trial users, 500MB is not enough to run MongoDB happily, nothing to do with the Railway platform itself


2 years ago

and i would just like to clarify something since you said "your infra"..
I don't work for railway


koombal
HOBBYOP

2 years ago

well, just upgraded to hobby plan. keeps crashing. why is that?


2 years ago

have you grown the volume?


koombal
HOBBYOP

2 years ago

not sure how


koombal
HOBBYOP

2 years ago

i tried redploying now


koombal
HOBBYOP

2 years ago

it gives some error messages but not crashing now. but it seems it cannot create DB connection


koombal
HOBBYOP

2 years ago

i can't find nowhere where to increase volume size


2 years ago

as previously mentioned, go into the volumes settings and grow it to 5gb


koombal
HOBBYOP

2 years ago

and no db connection


koombal
HOBBYOP

2 years ago

where is volume settings


2 years ago

click on the volume


koombal
HOBBYOP

2 years ago

where is the volume


koombal
HOBBYOP

2 years ago

no volume in settings


2 years ago

the volume is attached to the service


koombal
HOBBYOP

2 years ago

1258498877615509500


2 years ago

click on the volume, it is on the project canvas


koombal
HOBBYOP

2 years ago

ok, found it


2 years ago

I didn't know it needed finding <:kekw:788259314607325204>


koombal
HOBBYOP

2 years ago

well, someone should do UX here


koombal
HOBBYOP

2 years ago

i think it's working, thanks


koombal
HOBBYOP

2 years ago

btw, the other service cannot connect to the DB now, anything that needs to be "rewired" somehow?


2 years ago

please provide specific errors


koombal
HOBBYOP

2 years ago

2024-07-04 19:12:16,499 (async_telebot.py:565 MainThread) ERROR - TeleBot: "mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: ]>"


2 years ago

are the two services in the same project


koombal
HOBBYOP

2 years ago

i am trying to redploy


koombal
HOBBYOP

2 years ago

yes, same project


koombal
HOBBYOP

2 years ago

it was working before mongodb started crashing


2 years ago

do you have the V2 runtime enabled


koombal
HOBBYOP

2 years ago

it was on legacy - was it changed somehow or it was in legacy when i started the project?


2 years ago

it was legacy when you started the project, switch to v2


koombal
HOBBYOP

2 years ago

ok, but i think i still have the same error


2 years ago

have you switched to the v2 runtime


koombal
HOBBYOP

2 years ago

yep


koombal
HOBBYOP

2 years ago

both are V2


2 years ago

deploy logs please -


koombal
HOBBYOP

2 years ago

Starting Container

Started server process [2]

Waiting for application startup.

Application startup complete.

Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)

2024-07-04 19:20:53,215 (async_telebot.py:565 MainThread) ERROR - TeleBot: "mongodb.railway.internal:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: ]>"


koombal
HOBBYOP

2 years ago

this is the app


2 years ago

use the bookmarklet please


koombal
HOBBYOP

2 years ago

well, the tool is not "brave" browser friendly

1258505531698712576


2 years ago

logs of the app please


koombal
HOBBYOP

2 years ago


2 years ago

can you connect to the database locally


koombal
HOBBYOP

2 years ago

yep


koombal
HOBBYOP

2 years ago

any idea?


koombal
HOBBYOP

2 years ago

something is messed up in internal networking?


koombal
HOBBYOP

2 years ago

there?


koombal
HOBBYOP

2 years ago

Should i create a ticket somewhere else?


2 years ago

hobby users are only eligible for support from the community, so please be patient


Loading...