Linux Lite Forums

Software - Support => Other => Topic started by: Nicksan on June 29, 2021, 03:59:07 PM

Title: disk % usage issue
Post by: Nicksan on June 29, 2021, 03:59:07 PM
Hey people,

I'm new here, I installed linux lite because I was looking for a light and simple look OS. It also made my PC faster and that was great. But a few weeks later i was having some disk usage problems when i was using it. I have double boot with windows.

My main problem with the disk usage is the % usage of the disk. Sometimes the % of disk shoot out to 100% just by executing some command, like opening the browser, or running some programs like matlab. I have checked the RAM usage with the task manager and there is no 100% RAM usage problem (I normally use around 60-70% RAM), and the hard drive I have is very pretty new.

When I get the % disk usage problem, i used iotop to know what was happening in the disk, I found that the last program that I have run appears using 99% of the disk, as well as other programs that had been running without problems. So several processes appear using 99% of the disk, which ends up blocking my computer and with no other choice but to use REISUB or simply the power button(sometimes REISUB doesn't work either ).

Has anybody present this same problem? and what should i do to fix it?  :'(

my thanks to the one who gives me some indication on what to do  ;D
Title: Re: disk % usage issue
Post by: Nicksan on June 29, 2021, 04:00:41 PM
PS: I could not find anything in the forum that was related, so if you have already replied something like that I apologize for going back to an old thread
Title: Re: disk % usage issue
Post by: firenice03 on June 29, 2021, 05:19:46 PM

@Nicksan I coukd see disk perf would go 100% utilization (read/write) not space utilization as 99% full unless the partition is sized funny.

How did you set up/install did you use alongside Windows or the Something else option??
How are the partitions setup...
Pasting the outputs of...
Code: [Select]
lsblk
df -hT
free -h

May help figure out???
Title: Re: disk % usage issue
Post by: trinidad on June 30, 2021, 09:58:28 AM
Are you using timeshift on a schedule?

TC
Title: Re: disk % usage issue
Post by: TheDead on June 30, 2021, 11:18:06 AM
I'll leave you respond to firenice03's questions ... and maybe add, if the computer is a laptop and using a slooow 4200RPM standard HDD, could mean trouble.
If you have an SSD, forget I mentionned it ;)
Title: Re: disk % usage issue
Post by: Nicksan on July 01, 2021, 04:27:01 PM

@Nicksan I coukd see disk perf would go 100% utilization (read/write) not space utilization as 99% full unless the partition is sized funny.

How did you set up/install did you use alongside Windows or the Something else option??
How are the partitions setup...
Pasting the outputs of...
Code: [Select]
lsblk
df -hT
free -h

May help figure out???

Hello, sorry for my delay, yes, i have dual boot with windows in my notebook. I send my outputs.

panchisco > ~ > lsblk
NAME      MAJ:MIN RM   SIZE    RO  TYPE MOUNTPOINT
sda             8:0      0    931,5G  0    disk
├─sda1      8:1      0         16M  0    part
├─sda2      8:2      0    354,8G  0    part
├─sda3      8:3      0       589M  0    part
├─sda4      8:4      0       100M  0    part   /boot/efi
├─sda5      8:5      0       476G  0    part
├─sda6      8:6      0       488M  0    part   /boot
├─sda7      8:7      0      24,1G  0    part   /
└─sda8       8:8      0      75,4G  0    part   /home
 panchisco > ~ > df -hT
Filesystem     Type          Size    Used     Avail    Use%   Mounted on
udev             devtmpfs   3,8G         0     3,8G       0%    /dev
tmpfs            tmpfs       787M    3,2M    783M       1%    /run
/dev/sda7      ext4          24G      18G     4,7G     80%    /
tmpfs            tmpfs        3,9G    256K     3,9G       1%    /dev/shm
tmpfs            tmpfs        5,0M     4,0K     5,0M      1%    /run/lock
tmpfs            tmpfs        3,9G          0     3,9G      0%    /sys/fs/cgroup
/dev/sda6      ext4         457M    214M    209M     51%   /boot
/dev/sda4      vfat            96M      33M     64M     35%   /boot/efi
/dev/sda8      ext4            74G     29G     42G      41%   /home
tmpfs            tmpfs        787M      24K    787M       1%   /run/user/1000
 panchisco > ~ > free -h
                    total        used        free      shared     buff/cache   available
Mem:          7,7Gi       5,9Gi       331Mi       526Mi       1,4Gi         1,0Gi
Swap:            0B          0B          0B
 panchisco > ~ > 
Title: Re: disk % usage issue
Post by: Nicksan on July 01, 2021, 04:28:42 PM
Are you using timeshift on a schedule?

TC

Hi, no i don't or at least I don't know, I have not made big changes to the OS, I have only given it an average use :c
Title: Re: disk % usage issue
Post by: Nicksan on July 01, 2021, 04:33:44 PM
I'll leave you resond to firenice03's questions ... and maybe add, if the computer is a laptop and using a slooow 4200RPM standard HDD, could mean trouble.
If you have an SSD, forget I mentionned it ;)

Hi, my computer is a laptop, but using a ST1000LX015, hybrid 2.5", SATA 6GB/s, 5400rpm, 128MB. It is supposed to have a fairly high transfer rate by having a SSD portion  :shrug
Title: Re: disk % usage issue
Post by: Nicksan on July 02, 2021, 03:55:40 AM
Hey there, today i was using lunix lite again and i was using iotop to see what was happening with the disk, suddenly my notebook get freezed and i was able to take a pic to the iotop terminal. Could this help?

https://drive.google.com/file/d/1oO-7UDtqv7BzGIOs4YqY1kR6ZEZ3gYus/view?usp=sharing
Title: Re: disk % usage issue
Post by: icedigger on July 03, 2021, 08:40:18 PM
Replace it with a real SSD drive.  Those hybrid drives are weird.
Title: Re: disk % usage issue
Post by: TheDead on July 06, 2021, 10:20:24 AM
(please see forum rules about posting images).
Seems Firefox is opening a bunch of processes?
Also there is clamscan there, Im guessing the antivirus.
Everything trying to access the HDD at the same time could really bog down a system... Hybrid drives work fast on data already accessed recently, but at standard speed for everything else.
Maybe try to open less Firefox windows or stop the clam scan when needing to work?
Title: Re: disk % usage issue
Post by: Bob Skill on July 06, 2021, 04:17:42 PM
in terminal write ncdu  if not on your computer it will tell you how. It is simple. This will give you at the top of a list what is taking up your disk space.
Title: Re: disk % usage issue
Post by: TheDead on July 06, 2021, 04:25:14 PM
Oooh! I got an idea. If the disk is hybrid SSD but has not been "TRIM-ed" some performance issues are bound to occur, specially if an older drive.
Has to HOW to TRIM a drive, I have no clue, or if even possible on Hybrid drives.

Linux Gurus, I summon thee! ;)
Title: Re: disk % usage issue
Post by: Nicksan on July 06, 2021, 06:41:15 PM
in terminal write ncdu  if not on your computer it will tell you how. It is simple. This will give you at the top of a list what is taking up your disk space.

I mean, is not because disk space, it's about % io disk usage :c
Title: Re: disk % usage issue
Post by: Nicksan on July 06, 2021, 06:43:21 PM
Oooh! I got an idea. If the disk is hybrid SSD but has not been "TRIM-ed" some performance issues are bound to occur, specially if an older drive.
Has to HOW to TRIM a drive, I have no clue, or if even possible on Hybrid drives.

Linux Gurus, I summon thee! ;)

Oh i didn't know about that, i will look for that, thank you! i will tell you if it work soon :3 :55: