Home partition low memory
by wayne1937 from LinuxQuestions.org on (#5HZWW)
dv1937@mx:~
$ sudo fdisk -l
[sudo] password for dv1937:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM010-2EP1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 936CC56D-61BD-4E52-B4DF-856B9CCE3871
Device Start End Sectors Size Type
/dev/sda1 2048 526335 524288 256M EFI System
/dev/sda2 526336 989155198 988628863 471.4G Linux filesystem
/dev/sda3 1949265920 1953460223 4194304 2G Linux filesystem
/dev/sda4 989155328 1949265919 960110592 457.8G Linux filesystem
Partition table entries are not in disk order.
dv1937@mx:~
$ sudo parted -l
Model: ATA ST1000DM010-2EP1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 269MB 268MB fat32 ESP boot, esp
2 269MB 506GB 506GB ext4 primary
4 506GB 998GB 492GB ext4 primary
3 998GB 1000GB 2147MB linux-swap(v1) primary
dv1937@mx:~
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1902588 0 1902588 0% /dev
tmpfs 387308 2684 384624 1% /run
/dev/sda2 485506300 7167856 453606340 2% /
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1194040 132 1193908 1% /dev/shm
/dev/sda1 258095 8125 249970 4% /boot/efi
cgroup 12 0 12 0% /sys/fs/cgroup
tmpfs 387304 12 387292 1% /run/user/1000
dv1937@mx:~
$
dv1937@mx:~
$ free -l
total used free shared buff/cache available
Mem: 3873060 2219768 510628 351276 1142664 1065000
Low: 3873060 3362432 510628
High: 0 0 0
Swap: 2097148 1292 2095856
dv1937@mx:~
$
From time to time the machine signals Home is low on memory.
When installing mx19 and mint20 I let the installers make all the decisions. Now, however, it seems that additional space is needed by home.
The swap file is the last partition inline i.e, 1, (2-Root), 4, (3-Swap.) There is no extended partition or LVM.
Appreciate help on this, and thank you.


$ sudo fdisk -l
[sudo] password for dv1937:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM010-2EP1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 936CC56D-61BD-4E52-B4DF-856B9CCE3871
Device Start End Sectors Size Type
/dev/sda1 2048 526335 524288 256M EFI System
/dev/sda2 526336 989155198 988628863 471.4G Linux filesystem
/dev/sda3 1949265920 1953460223 4194304 2G Linux filesystem
/dev/sda4 989155328 1949265919 960110592 457.8G Linux filesystem
Partition table entries are not in disk order.
dv1937@mx:~
$ sudo parted -l
Model: ATA ST1000DM010-2EP1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 269MB 268MB fat32 ESP boot, esp
2 269MB 506GB 506GB ext4 primary
4 506GB 998GB 492GB ext4 primary
3 998GB 1000GB 2147MB linux-swap(v1) primary
dv1937@mx:~
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1902588 0 1902588 0% /dev
tmpfs 387308 2684 384624 1% /run
/dev/sda2 485506300 7167856 453606340 2% /
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1194040 132 1193908 1% /dev/shm
/dev/sda1 258095 8125 249970 4% /boot/efi
cgroup 12 0 12 0% /sys/fs/cgroup
tmpfs 387304 12 387292 1% /run/user/1000
dv1937@mx:~
$
dv1937@mx:~
$ free -l
total used free shared buff/cache available
Mem: 3873060 2219768 510628 351276 1142664 1065000
Low: 3873060 3362432 510628
High: 0 0 0
Swap: 2097148 1292 2095856
dv1937@mx:~
$
From time to time the machine signals Home is low on memory.
When installing mx19 and mint20 I let the installers make all the decisions. Now, however, it seems that additional space is needed by home.
The swap file is the last partition inline i.e, 1, (2-Root), 4, (3-Swap.) There is no extended partition or LVM.
Appreciate help on this, and thank you.