[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tmp on tmpfs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 19.04.2023 um 08:34 schrieb tomas@tuxteam.de:
> On Wed, Apr 19, 2023 at 01:15:01PM +0700, Max Nikulin wrote:
>> On 19/04/2023 11:30, tomas@tuxteam.de wrote:

> Of course, I wouldn't propose to set it as a default for a distro.
> 
> Cheers
> 

Neither would i.

my 2 cents:
I did put /tmp on tmpfs some time ago to minimize SSD churn without
really understanding the consequences. Later, i ran into several
problems, which turned out to be caused by /tmp running out of space.
After some investigation, i found the sweet spot, where i did not need
to remount /tmp with bigger size any longer, and all of my task were
happy. (And i was happy, that i could provide so much RAM temporarily,
tmpfs doesnt eat up more than what is actually required.)

For my application, that sweet spot turned out to be at size=45G. This
config is still in my fstab and the system behaves fine since. Just
got to confess, that i am still on debian buster (=old-old-stable very
soon).

just saying
DdB
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEumgd33HMGU/Wk4ZRe3aiXLdoWD0FAmQ/lFoACgkQe3aiXLdo
WD0Y3g/9Gb4bFB+JkO0OUrKLKS9a6jEjMaSYmySh6qw4LB6+O+Zsodnkhq79me36
AuaTE1imt8BHqDhBtZyf26/iCfszdpzhVH/Ayl/AbO7axZMhMjXFqNH49gkr9NLI
BNVAP1SQ4OmE43W2gscqIUzN8Hcw+fbHpFbmzcUL3zluR7Bzi84n4lqKrqwxcQUO
0g64F0xjyq0h2MEqmnJN96Lu2D/2ES7JI4XO2YNqpotagfusF9opycCC+oP+xKwm
mPlTAiwfMjRpNWMWSRl7lXAjoah4+HqVyGoNkQOYapw56CXUWYQkwk74bkL9RTmQ
xl1t768LVS/O22OBXidqUUEausRkOe7yhWLL/Rv46ZkN1xn1IVsNomcq9abeUkBg
OTSKcvNiBQDEG58sSf2iSnfyQ9O+1dQ45D2dDHOqxg4PS1B0GIijetucpg2izLSg
6RLuk+Fn92xxKlcPV2791QQpJBh0dAwNdXuRmSVQ9VwxF7Rj2tOE9oK5lC/QbXnw
dF7bNmHCEJ82GRtSVe6o+ujj8Hmbi+nyg1ci7wxy4a81seOb4pM9oVpaS5GA5x1l
Yqj2AWXBBlx4N3NNTZb/X1KAaJrob/jNo76LeRyCyiygyOlrQZixhZMJvXNh6SXM
PzP1J0Sz/OneYI1GT/uUoYe6VsqVpgSUfrRJKJh3eX7O7DQkYb4=
=5YWO
-----END PGP SIGNATURE-----


Reply to: