sapphire steals the CPU
We just deployed a bot on a droplet...
No I just got the message of my co-developer, that the process of the bot requires the Whole ram and CPU of the droplet, so Ubuntu shut the process down. The bot is in comparison very light, so I can't imagine how this happened. It is running via pm2. Any ideas? On my local test machine, normal running cost only 27 MB, not 1 GB 🤷🏻
Thx
Solution:Jump to solution
Sounds like an issue on the OS end, especially if it doesn't happen locally. Sapphire also has a very very tiny memory footprint compared to discordjs itself.
4 Replies
Solution
Sounds like an issue on the OS end, especially if it doesn't happen locally. Sapphire also has a very very tiny memory footprint compared to discordjs itself.
Okay. The OS is a Ubuntu, but we gonna take a look on the code in a while. Thanks!
sapphire shouldn't do much
for me anyway cpu is at 1-4% most times
I hosted a Sapphire Bot on a Debian/Ubuntu droplet with no issues
For at least a few months