• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Limiting CPU Usage of YT-DL

Status
Not open for further replies.

Nicer

Member
Hello, I have a question.
Is there any way to limit cpu usage of executed youtube-dl processes? If somebody spams songs to queue, cpu jumps to 100% and can't keep system clock up to date --> causes problems with other running processes.
 

maxx8888

Active Member
Hi,

I'm having the same Issue.
I would like to limit the CPU usage from youtube-dl. I've seen there is a command line switch --postprocessor-args '-threads N'.
Maybe with help of this switch it would be possible to limit the usage to one core only?

Another strange thing is that for every song a new youtube-dl Process is spawned, but the old ones are staying alive.
After an hour i've 30 youtube-dl Processes running and VPS Server is getting really slow.
 
Last edited:

flyth

is reticulating splines
Staff member
Developer
Contributor
I've added some optimizations for the next version which should take care of it.
 
Status
Not open for further replies.
Top