a year ago
Hello, I have a MongoDB instance that I set up using the default option in Project Canva. I’m using it for an app Im testing, but I need to make it be fully working before this weekend. Now its crashing the docekr deployment. I encountered this problem before and resolved it by deleting the MongoDB service and starting a new one, which worked for a few days. However, it crashed again yesterday, and now, whenever I restart it, it only lasts a few minutes before crashing again. The crashes happen randomly, and I haven't changed any settings in the MongoDB configuration or added/fetched any data when it crashes.
I'm only using 200 mb of data, and the maximum volume size is 500 MB
some hints
MongoDB starting
Memory available to mongo process is less than total system memory
Build Info
vm.maxmapcount is too low
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
container event container died
full logs:
https://docs.google.com/document/d/1kZdTZ8IthEjHQxrYslGr1qKa6uzOdjbdHjK95rLAXik/edit?usp=sharing
log explorer id:
@deployment:46d3e808-8567-4122-826f-86e6678d9989 -@replica:d3071531-530e-4a61-ac26-8909e5ea5ac2
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
You're on the trial plan and are limited to 500MB 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 volumes settings to grow it to 5GB.