a year ago
Hi, I have noticed that I am getting charged quite a bit for an idle project that barely has <100 visits monthly. I started looking into it closer, and noticed that I am getting charged for $10 monthly for a MongoDB instance.
Image Server DB
https://i.gyazo.com/b62def1ec9083406c6b1204a76a05ce5.png
This is the metrics for the last 30 days
https://i.gyazo.com/7ce4090a6de8bcf3420bdc1843b4a2bb.png
Is there something wrong with my instance or the pricing? Or maybe I am understanding it wrong? How an idle DB can use so much resources (Though looking at metrics it doesn't look much at all?)?
Thanks.
0 Replies
a year ago
hello,
railway doesn't charge based on visitors or page loads, or anything along those lines.
railway charges for resource usage, cpu, memory, network, disk.
your image server db service is simply using $10 worth of resources.
nothing inherently wrong with your instance, and nothing wrong with over counting your resources on our side, that number is correct.
as for why that much resources are being used, well we have no way of telling you, similarly to how your power company can tell you how much power you used, but they don't know what you did with that power.
a year ago
I can recommend you look into app sleeping -
when an app is sleeping it cannot use cpu, memory, or network.
Yeah, well it doesn't want to sleep. Something shady is going on with that instance. I believe it uses default configuration and not a single clue on why it would use much if it does nothing…
a year ago
you can check out the docs page I linked for some common reasons why services may not be able to sleep
I see, thanks. Will be looking into moving it somewhere else then. No reason to pay $10 for something like this.
a year ago
that's fair, rest assured the number is counted correctly
a year ago
no problem!
a year ago
!s
Status changed to Solved brody • 12 months ago