R
Railway

✋|help

Worker Killed Issue

Wwar9/18/2023
I'm getting the attached error when I try to request my app from a React frontend, whereas I wasn't getting that error requesting the app from a Python file using requests. Why might I be getting a memory error in this case, and what can I do to fix it?
Wwar9/18/2023
N/A
Not sure how to access project ID
Bbrody1929/18/2023
you are on the trial plan, trial plan users get 512mb of ram, if you need more you will want to upgrade to hobby
the bot told you how
Wwar9/18/2023
it said ctrl cmd k, I tried that with the project open in Railway and nothing happened
Bbrody1929/18/2023
it was ctrl or cmd depending on your platform
either way, its not needed for this case
Wwar9/18/2023
Is there a way for me to check how much ram my app is actually using? I don't understand why the exact same request is working from a local file but not from a React app when I'm sending them to the same endpoint
Bbrody1929/18/2023
visit the metrics tab
Wwar9/18/2023
hm, ok I can see maybe it's gotten a little high over the last hour but I don't see it getting close to 512mb
Wwar9/18/2023
Would it not show the memory getting to 512 if it got that high? because the worker was killed?
Bbrody1929/18/2023
there may have been a tiny spike up to 512mb before railway captured a memory metric recording
pretty sure railway records memory usage every minute so its totally possible for your app to have tried to use more than 512mb of memory and crashed before railway recorded the memory usage
Wwar9/18/2023
ahh i see i see
okay thank you that's helpful
what are the memory benchmarks of the paid tiers?
Bbrody1929/18/2023
8gb on hobby
Wwar9/18/2023
what about the team plan?
Bbrody1929/18/2023
32gb
Wwar9/18/2023
okay thank you
is that the highest?
Bbrody1929/18/2023
you can do custom plans on enterprise
Wwar9/18/2023
so enterprise could go higher than 32 gig?
Bbrody1929/18/2023
for sure
Wwar9/18/2023
ok very helpful, thanks a lot!
Bbrody1929/18/2023
no prob
let me know if you still get killed after the upgrade!
keep in mind you will need to redeploy your service to utilize the newly added resources
Wwar9/18/2023
ahh okay helpful
still trying to fully understand why we're getting killed -- idea why a local request to the endpoint with the same data as a request from a frontend application would take different amounts of memory?
Bbrody1929/18/2023
no clue, just python things? lol
Wwar9/18/2023
lol
Will concurrent requests to a single endpoint work? And where would the logs appear for each individual request if the app was running for two separate requests at the same time?
Bbrody1929/18/2023
(answered in your new thread)

Looking for more? Join the community!

Recommended Posts
Need help with deploymentSubject: Seeking Guidance on Loading Environment Variables in Railway for My Go API Deployment Hi ebun: command not foundHello, I'm trying to migrate my project to bun to make TS easier, and I'm when deploying, the logs Metrics on Number of Web RequestsI just deployed a web API and would like to keep track of the number of requests made to the API. DoIs there a timeout on my api functions when deploying a nextjs app?I coudnt find anything about this on google or the docs, Thanks for helpingI have problems with the database when I do a deploy.I have a mongo DB database that is connected to a node js, to connect to mongo I use the url that moI have problems with the database when I do a deploy.I have a mongo DB database that is connected to a node js, to connect to mongo I use the url that moError comunicate with internal servicecsI'm trying to make a post on a route that is in an internal service on railway = api-ecompleto.railwUnchanged repo fails to deploy on env var change.I had this exact setup running last night, and this morning when I changed an environment variable iIs it possible to host Unity project?I have a unity game development project which runs C# Since I already use railway for my other projCan't see organizations reposTitle.Please my images are not displaying after deploying on railway. I am new in web development.Please I am new to web development and first time deploying to railway. I have django drf backend wiISO 27001Hi this might be a dumb question but does Railway have the ISO 27001 certification or is that irreledeploying react with viteI've deployed a react app with vite, exposing network ip but I can't access it - says Application faOpenSSL error when using Bun + PrismaGetting an error when using Bun and prisma together. Prisma requires node to work, so start command Server isnt workingThe server suddenly stopped working. Could anyone explain what is going on?...How to deploy a project with multiple dockerfiles?Have project that has one `Dockerfile` for the backend service and another one `Dockerfile.celery` fWildcard DNS let user custom there domainI would like to know how to let's my users custom domain with CNAME to my domain DNS my DOMAIN CNABun with turborepo supportHey guys, Just switched over to bun from fastify but having some trouble setting it up properly to How does pro plan upgrade works for application? particularly Spring boot app...Hi all, I find it difficult to understand how pro plan upgrade works. I upgraded my Spring boot app Deploying Rust tries to copy binaries that don't exist.I'm not using my own nixpacks.toml, and railway is attempting to copy binaries that it doesn't need