10 months ago
I upgraded to the hobby plan (not sure if that's related) and now my mongodb database doesn't sleep anymore.
When I check the logs I see that WiredTiger is taking snapshots every minute. Is there a way to disable this or to increase the interval?
I tried adding --wiredTigerEngineConfigString "checkpoint=(wait=600)" to my start command, but that did not seem to work.
Thanks in advance!
12 Replies
Is there a reason why you want it to sleep? Databases shouldnt really sleep tbh
Project isn't live yet so the main reason is for it to save on resources
And for staging environments in the future, it would also be nice if it wasn't running the entire time
The thing is that this just worked before upgrading to the hobby plan
they store data, the process that talks to the databases should sleep, not the database
However if you want to.. then
Hmm, I see that the db is sleeping now 😅
Maybe it wasn't related to the wiredTiger

Yeah, I know about that, used to use it when I was developing, but it delayed my servers. W tho!
Ah alright, good to know, I ll make sure to turn it off when the project is actually live, thanks for reaching out!