I'm facing a weird problem that I never had in 4 years using Ubuntu.
Commands in the terminal are running very slowly. A simple clear
takes up to 20 seconds, as well as cd
, get into vim
, everything is really. Sometimes it even freezes the input to the point that I can't type anything for a long time.
I'm currently using Ubuntu 20.04.
I have no idea what could be causing this weird behavior. Can someone shed some light on it?
UPDATE: Htop screenshot
UPDATE 2:
This shows the CPU usage on its way to 100%, and I found out that this behavior only happens in a specific git repository once I cd in it. I've run git status
with some flags and it is using 100% CPU. But the diff is really small. Other git repos in my machine work fine.
htop
to gather information about a possible source of your issue – Nmath Oct 06 '20 at 14:53git
for. AFAIK it shouldn't be active unless you use it and have scheduled some task. – Nmath Oct 06 '20 at 20:56