Very expensive service: how to determine service costs?

I've been spinning a few projects on railway for a while now with no issue. Last night I suddenly ran out of credits and all of my apps were shutoff. This came as a surprise so I started digging in and one of my services is WAY more expensive than the rest despite not having many users or using many system resources. Can I get some help digging into pricing? I run a way more computationally expensive service on railway but it only costs peanuts compared to a web based remix app using "70,000 minutely GB" whatever that means. Project ID for expensive project: 084fa23b-7244-4f76-b461-48d1222c2e5e
10 Replies
Percy
Percy2y ago
Project ID: 084fa23b-7244-4f76-b461-48d1222c2e5e
Brody
Brody2y ago
perhaps you where running the remix app as a development server? those can tend to eat resources like no ones business
cephalization
cephalizationOP2y ago
hrm, I am using remix start and node env appears to be production when logged I have another remix project that also costs nothing to run I suppose it is possible my project had crazy system resource usage from older than 7 days ago, any way to see that?
Brody
Brody2y ago
railway only keeps resource metrics for 7 days yeah that still probably starts a development server youll want to build your app with remix build and start it with something like the remix-serve package
cephalization
cephalizationOP2y ago
https://github.com/cephalization/infinite-mystery/blob/main/apps/web/package.json I was mistaken, I am using remix-serve build https://github.com/cephalization/infinite-mystery/blob/main/apps/web/Dockerfile I wonder if my docker image is problematic, I did not split it into a build layer and a run layer
Brody
Brody2y ago
nah dockerfile is fine remix-serve would have been the only thing running, so thats the only thing that could be of issue
cephalization
cephalizationOP2y ago
There is the possibility that someone found the website and was going ham on it at the beginning of the month, just seems hard to believe
Brody
Brody2y ago
try moving to the serve package, its maintained by Vercel, and ive always have had great experience with it
cephalization
cephalizationOP2y ago
I will look into that, thanks
Brody
Brody2y ago
no worries, but beyond that theres not much me or anyone else can help you with, without telemetry it will be very hard to determine your issue
Want results from more Discord servers?
Add your server