Bot getting shutdown

Posted by cauadecamara in discord-bots.

Heya, i know that responses aren't guaranted for free users and i thank u guys a lot for letting we host free servers. But i've be getting a issue on my discord bot, it can play music but it uses maximum of 15% 20% of CPU not trepassing the 35% limit, and it uses 100mb of RAM. If u guys can solve this or tell me whats going wrong i'll be pleased.

Replies

Byte

Your screenshot shows 17.4% average CPU , which is likely why the free server is being stopped. The 35% limit is not the shutdown threshold : free servers can be stopped when average CPU stays above roughly 15% for a sustained period. Music playback and audio processing can keep CPU usage high. 1. Reduce audio encoding/transcoding work and avoid tight loops or frequent polling. 2. If the bot’s average stays above the threshold, move the workload to a premium plan. More on the policy: https://wispbyte.com/fair use

cauadecamara

Guys, if u'r having the same problem with discord music bots. what solved my problem: public wavelink hosts. it gives u the audio and ur CPU on wispbyte panel stays at 0%

Wispbyte Community Forum