itchio / butler

🎩 Command-line itch.io helper
MIT License
745 stars 52 forks source link

desktop app butler process using lots of CPU #165

Closed JigmeDatse closed 5 years ago

JigmeDatse commented 5 years ago

I'm not sure what this might have been, I've had a few different applications on my system (gentoo linux) which would take a lot of resources, and I can't tell why.

With the desktop app running, it was pegging one of my cores at 100% CPU usage (I think it was that, as it was the only process with any significant CPU usage) which lead to performance issues. It likely is related to something else as well being involved.

For now I have stopped the desktop app, and will look at it later. I was feeling kind of desperate to get my performance back as every link I clicked on in Chrome wouldn't respond for a good many seconds, and other stuff also was having issues. I'll try to remember to track this down more if I see it again, but for now it's been doing it (I think) for over 12 hours.

fasterthanlime commented 5 years ago

but for now it's been doing it (I think) for over 12 hours.

it was pegging one of my cores at 100% CPU usage

Well, that's definitely not normal behavior. Was it in the process of updating something? Or self-updating?

Attaching your ~/.config/itch/logs/itch.txt might help!

Luckily there's a relatively easy way to profile where butler spends its time. It has no long-running requests normally (except install/updates/uninstalls), so I'm really curious why it would take 100% cpu for an extended period of time.

fasterthanlime commented 5 years ago

moved to https://github.com/itchio/itch/issues/2149