Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage caused by freezing due to pressing dd to kill a process #1628

Open
1 task done
ShahramMohammed opened this issue Nov 20, 2024 · 3 comments
Open
1 task done
Labels
bug Something isn't working the way that is expected.

Comments

@ShahramMohammed
Copy link

ShahramMohammed commented Nov 20, 2024

Checklist

What operating system and version are you using?

6.11.9-arch1-1

What architecture are you using?

x86_64/AMD64

What terminal(s) are you running bottom on that are experiencing the problem?

st 0.8.5

(Optional) What filesystem(s) are you using?

Btrfs

What version of bottom are you running?

0.10.2

How did you install bottom?

Arch official repos

Describe the issue

I have a somewhat similar issue to #1602. It is not easy to reproduce as it happens inconsistently and I don't know what triggers it. But it could be related to another issue I have of bottom suddenly freezing shortly after opening it. Again, that issue is also hard to reproduce but from what I can recall I think it was freezing right after I tried to kill a process by pressing dd.

What is the expected behaviour?

Normal CPU usage of 2% and below. When this issue happens I can hear my fans speeding up and the usage can go all the way up to 50% if I remember right.

What is the actual behaviour?

Explained

How can we reproduce this?

Unfortunately I don't know what triggers it so I am unable to reproduce but I will update this issue if I ever figure out what a way to reproduce it

Additional information

No response

@ShahramMohammed ShahramMohammed added the bug Something isn't working the way that is expected. label Nov 20, 2024
@ShahramMohammed
Copy link
Author

ShahramMohammed commented Nov 20, 2024

Okay it just happened again and I can confirm the high CPU usage is due to the freezing issue that I can also now confirm happens due to pressing dd on a process to kill it. But this freezing behavior is inconsistent, dd works fine most of the time.
It went from normal to 12 percent after the freeze, then to 25 percent a short while later. It unfroze after a few minutes but the high CPU usage remains.

image

same CPU usage report from btop:
image

@ShahramMohammed
Copy link
Author

I forgot to add: when the program freezes, the process killing confirmation page fails to show up, so it freezes on the main process window.

@ShahramMohammed ShahramMohammed changed the title High CPU usage & Freezing (possibly after pressing dd) High CPU usage caused by freezing due to pressing dd to kill a process Nov 20, 2024
@ClementTsang
Copy link
Owner

Interesting, I'll take a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working the way that is expected.
Projects
None yet
Development

No branches or pull requests

2 participants