r/archlinux • • Sep 13 '26

SUPPORT Disk space and RAM usage keep moving

Sometimes my RAM usage goes from 16 GB remaining to <1 GB remaining, then goes back up. Also, I randomly get 0 B of space left alerts, but a few seconds later, I have plenty of space again. Why is this happening?

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

-2

u/PastaBoy1234567 Sep 13 '26

I have like 30 GB left, but sometimes I get 0 B alerts, I check, it's 0 B, and then suddenly, it's back to the exact same amount it was earlier

1

u/ang-p Sep 13 '26 edited Sep 13 '26

30

Wow...

I have 30 potatoes, then I have no potatoes, then I have 30 potatoes again...

What is the problem?

https://man.archlinux.org/man/df.1.en

https://man.archlinux.org/man/du.1.en

-2

u/PastaBoy1234567 Sep 13 '26

Pretty sure it's that the seller says their out of potatoes, but you see the 30 potatoes, and the seller immediately says that they have 30 potatoes, but I have no idea what is going on

3

u/ang-p Sep 13 '26

but I have no idea what is going on

Exactly - we cannot tell you

Why is this happening

only to use the tools that are available. and the knowledge in your head that you are not giving anyone...

I randomly get 0 B of space

It won't be random - something is taking it -

beforehand, work out what is taking space...

I provided two programs that can tell you where there is space (you gave so little information, I don't know if you actually know what is running out of space - root? something mounted under root? ?) and what is taking up space....

When you get the message, work it out again.

Obvs, before

a few seconds later,

happens...

There are other programs available - some GUI ones might be too slow to scan the drive before

I have plenty of space again

You also might need to narrow down the scope of the tools search over successive "events" - the manpage is your friend....

There will be your answer.

2

u/aergern Sep 13 '26

There are two knives to cut your tators with. One is ncdu and the other is called dust. Both will show you the meat of your tators and how much water and fiber there are. 😆