I use Arch Linux. I run the closed-source application Spotify. Recently, it's been displaying a very nasty bug though where it will use 100% of my CPU. My computer has been having some cooling problems(need to install some fans) and so this application can actually cause my computer to shut itself down.
Anyway, I have a 6-core processor, but somehow this application manages to utilize 100% of all 6 of my cores. While I wait for this application to get patched, I'd like to still be able to listen to music. Spotify only enters this state sometimes as well, usually when trying to play certain songs(I can tell because it ends up just going silent when it happens).
My main problem is the overheating bit. While I wait for some fans to come in, what is the best way to throttle this application so that my computer doesn't overheat?