Answer the question
In order to leave comments, you need to log in
How to limit tmpfs so that it doesn't eat up 126Gb?
Filesystem Size Used Ext Used % Mounted in
udev 126G 0 126G 0% /dev
tmpfs 26G 82M 26G 1% /run
/dev/sda1 28G 28G 0 100% /
tmpfs 126G 28K 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
/dev/sdd1 235G 104G 119G 47% /mnt/Cache
/dev/sdc1 3.6T 1.8T 1.7T 53% /mnt/Backup
/dev/sda6 201G 33G 158G 18% /home
/dev/sdb1 2.8T 2.2T 453G 84% /mnt/DB
tmpfs 26G 0 26G 0% /run/user/1000
Answer the question
In order to leave comments, you need to log in
it does not eat :) it's just the size of the partition (the maximum cram space).
if a couple of megabytes are occupied on tmpfs, then it will take this place in ram + a small place for control structures.
as well as the mount options size:
The limit of allocated bytes for this tmpfs instance. The
default is half of your physical RAM without swap. If you
oversize your tmpfs instances the machine will deadlock
since the OOM handler will not be able to free that memory.
https://www.kernel.org/doc/Documentation/filesystem...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question