I would like to know if there are any possible settings in youtube-dl or in the sinusbot itself, so that it does not multiply the "youtube-dl" process when playing songs singly by more than 1 instance.
Example:
I have 4 bots of music on the server, if I request to play the song through the youtubeSearch plugin for the 4 bots at the same time, it creates 4 youtube-dl processes while forcing the cpu of my vps to the maximum and leading to crash `s.
And furthermore after the server crashes it seems that the processes start to multiply infinitely.
I would like to know some configuration that would not let that happen, that would only use one youtube-dl process and would queue the other requests to be processed at the end of the first conversion. That way there would be no multi-youtube-dl processes and nor would it take to the extreme the use of vcpu.
According to the attached print when executing the command "htop"
Example:
I have 4 bots of music on the server, if I request to play the song through the youtubeSearch plugin for the 4 bots at the same time, it creates 4 youtube-dl processes while forcing the cpu of my vps to the maximum and leading to crash `s.
And furthermore after the server crashes it seems that the processes start to multiply infinitely.
I would like to know some configuration that would not let that happen, that would only use one youtube-dl process and would queue the other requests to be processed at the end of the first conversion. That way there would be no multi-youtube-dl processes and nor would it take to the extreme the use of vcpu.
According to the attached print when executing the command "htop"