DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
a few weeks ago I started to experience strange things on my Dell Vostro i5.
The laptop has 8Gb ram, a 120Gb SSD and it is running Debian Buster (upgraded from Debian Stretch).
What happens is this, at intervals, the computer becomes unresponsive with the HDD led on.
I tried to debug this with htop, but to no avail as everything freezes for several seconds.
After around 10 seconds, the HDD led goes off and the laptop is responsive again.
I have installed earlyOOM to see if it was a memory leak issue, but it did not help.
What would be the best way to monitor this and identify the culprit?
It seem to happen more frequently when firefox is open, but not always.
What happens is this, at intervals, the computer becomes unresponsive with the HDD led on.
I tried to debug this with htop, but to no avail as everything freezes for several seconds.
After around 10 seconds, the HDD led goes off and the laptop is responsive again.
Let's assume that something uses the HDD so much that it blocks the system. This is possible.
Please search for it in the logs.
BTW, is HDD a secondary drive, SSD being the primary that the system is installed to?
Thanks for the answer,
Could you please put me in the right direction to which logs should I look at?
The system has only one drive, SSD Cruzer with btrfs on it and subvolumes. It also has 8Gb swap on it.
I experience sometimes the same type of freeze (dell precision debian bullseye 12Gb 2 HDD ) I have not investigated further but I have noticed that this happens (always ?) when I have thunderbird and libreoffice opened with numerous files at the same time. In case it helps...
Have a look with iotop and/or fatrace. The latter will generate a ton of output - you never knew how much I/O was going on in your system. Write it to a file and condense it with your favourite tool - awk, perl, python ... whatever
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.