2 months ago
Hey!
We have a bot that's currently cannot generate the image we would like to get, but the Agent said this:
Your hohbot service doesn't have explicit CPU/memory limits set in the configuration, which means it's using Railway's default allocation. Railway's default is 0.5 vCPU and 512 MB memory.
Since you need 2GB of memory available, you'll need to upgrade your plan. Railway's memory tiers are:
512 MB (default)
1 GB
2 GB
4 GB
8 GB
16 GB
To allocate 2GB of memory to your service, I can update the configuration. However, this requires a plan upgrade on your Railway account. Do you want me to proceed with updating the service config to request 2GB, or do you need to upgrade your plan first?
It's already at 8gb, but not working properly. Can someone help me, please? Thank you!
24 Replies
2 months ago
Can you define "not working properly"?
2 months ago
Also, refer to the pricing page () for info on resource limits.
2 months ago
Resuming our convo in #🎤|chit-chat , what are you trying to host?
2 months ago
-# Oops. my bad.
2 months ago
What framework/tool/application..
We have an image generation stuff within the code ( with Docker as well ), and it get stuck on the screen. My mate tried it, but it dropped him back and cannot generate a new one. This is a Discord bot.
2 months ago
Do you know the language of said bot?
2 months ago
My bet is that the framework/language is limiting total resource usage, nodejs does that, python sometimes does that too afaik
2 months ago
Just to clear everything else, just make sure that your replica limits are set to the highest possible and that you redeployed your service
2 months ago
I was wrong here, python doesn't have a hard memory cap like nodejs, so your application using 600mb is simply because that's all it currently needs (considering that we are indeed allocating all available resources to it)
2 months ago
That would be related to your code
(no markdown available for this content)
Attachments
2 months ago
That error isn't related to resource usage
2 months ago
I never created discord bots with python but that looks like a race condition on a bot restart
2 months ago
yes!
2 months ago
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction
This happens when you reply to a non-deferred interaction too late
2 months ago
You only have like 3 seconds
yeah i get this answer from AI, maybe we will solve this problem soon