hollywood
hollywood copied to clipboard
Very high CPU usage
If you take a look at the htop in this screenshot, you can see that my CPU is going completely crazy:
It seems like tmux, mplayer and ccze are responsible.
OS: Ubuntu 18.04 hollywood version: 1.20
I think I had the same problem with 1.19.
@dustinkirkland I think it would be a good idea to add a parameter to hollywood that would allow you to specify which apps hollywood should use. Maybe a blacklist, whitelist or both. This would make debugging an issue like that much easier. What do you think?
The code is trying to run hollywood with the lowest CPU priority, using the nice command. Whenever you see this behavior, could you please paste the output of this command:
$ ps -e -o uid,pid,ppid,pri,ni,cmd | grep hollywood
I'd like to ensure that the nice value of every script is 19 (the lowest priority).
I'm open to a patch that blacklists individual applets, but this isn't very high priority for me. Note that you can run hollywood -s SPLITS and use a smaller number of splits from the default (which is all available). Generally speaking, hollywood is going to consume a lot of CPU. That's kind of the point. It's intended to be a tongue-in-cheek joke.
I had this problem even after the program was closed. My CPU usage was constantly at 100% and my computer was running very hot. I had to kill the ccze process to get it back to normal.
@dominic-03 same here
same here, eated up all my cores up to 90%