25 days 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
25 days ago
Can you define "not working properly"?
25 days ago
Also, refer to the pricing page () for info on resource limits.
25 days ago
Resuming our convo in #🎤|chit-chat , what are you trying to host?
25 days ago
-# Oops. my bad.
25 days 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.
25 days ago
Do you know the language of said bot?
25 days ago
My bet is that the framework/language is limiting total resource usage, nodejs does that, python sometimes does that too afaik
25 days 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
25 days 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)
25 days ago
That would be related to your code
(no markdown available for this content)
Attachments
25 days ago
That error isn't related to resource usage
25 days ago
I never created discord bots with python but that looks like a race condition on a bot restart
25 days ago
yes!
25 days ago
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction
This happens when you reply to a non-deferred interaction too late
25 days ago
You only have like 3 seconds