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:
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.
Jump to solution
4 Replies
Solution
Favna
Favna17mo ago
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.
Durus
Durus17mo ago
Okay. The OS is a Ubuntu, but we gonna take a look on the code in a while. Thanks!
Ararou
Ararou17mo ago
sapphire shouldn't do much for me anyway cpu is at 1-4% most times
drainpixie
drainpixie17mo ago
I hosted a Sapphire Bot on a Debian/Ubuntu droplet with no issues For at least a few months