Postez ici vos trucs & astuces.
ewolnux Père Fondateur Signature : Signature
#1 Message il y a 10 ans Bonjour Combine récupérée sur le forum britiche, pour limiter la taille de /var/log/journal :
sudo gedit /etc/systemd/journald.conf
pour limiter la taille totale (p.e. à 100 Mo), chercher la ligne : la modifier pour avoir : pour limiter en plus la taille par fichier, chercher la ligne : la modifier pour avoir :edit : évidemment si la taille actuelle de votre /var/log/journal est supérieure à la taille que vous allez définir, il faudra supprimer son contenu. Dans l'avenir, sa taille alors ne dépassera pas celle définie. Desktop - Manjaro-KDE x86_64 Stable / Arch-KDE x86_64 - CPU : Intel® i5-3570K @ 3.40GHz - RAM 8 GO - Carte-mère : MSI Z77A-G45
Carte graphique : Intel® HD Graphics 4000 - Audio device: Intel Corporation Panther Point High Definition Audio Controller
Laptop – Manjaro-XFCE x86_64 - CPU : Intel Pentium Dual-Core B940 - Carte graphique : Intel HD Graphics 3000
#2 Message il y a 10 ans Ca n'a pas fonctionné pour moi, c'est comme si l'option était ignorée (J'avais un journal qui faisait plus d'un Go). J'ai dû placer l'option "Storage=volatile" pour remédier radicalement au problème. Stéphane. Stéphane - Le HavreDesktop - Manjaro-Mate x86_64 - CPU : Intel® Core i3-4130 @3.4 GHz - RAM 4 Go DDR3 1600MHz - MoBo : Gigabyte GA-H81M-S2PVVidéo : Intel® HD Graphics 4400 (pilote libre) - Kernel 4.0
ewolnux Père Fondateur Signature : Signature
#3 Message il y a 10 ans J'ai mis un edit au premier message. Desktop - Manjaro-KDE x86_64 Stable / Arch-KDE x86_64 - CPU : Intel® i5-3570K @ 3.40GHz - RAM 8 GO - Carte-mère : MSI Z77A-G45
Carte graphique : Intel® HD Graphics 4000 - Audio device: Intel Corporation Panther Point High Definition Audio Controller
Laptop – Manjaro-XFCE x86_64 - CPU : Intel Pentium Dual-Core B940 - Carte graphique : Intel HD Graphics 3000
#4 Message il y a 10 ans J'avais bien vu, mais même après suppression total, le journal regonflait au delà des limites après quelques jours. Stéphane - Le HavreDesktop - Manjaro-Mate x86_64 - CPU : Intel® Core i3-4130 @3.4 GHz - RAM 4 Go DDR3 1600MHz - MoBo : Gigabyte GA-H81M-S2PVVidéo : Intel® HD Graphics 4400 (pilote libre) - Kernel 4.0
ewolnux Père Fondateur Signature : Signature
#5 Message il y a 10 ans OK, je regarde dans les prochains jours comment ça évolue chez moi. Desktop - Manjaro-KDE x86_64 Stable / Arch-KDE x86_64 - CPU : Intel® i5-3570K @ 3.40GHz - RAM 8 GO - Carte-mère : MSI Z77A-G45
Carte graphique : Intel® HD Graphics 4000 - Audio device: Intel Corporation Panther Point High Definition Audio Controller
Laptop – Manjaro-XFCE x86_64 - CPU : Intel Pentium Dual-Core B940 - Carte graphique : Intel HD Graphics 3000
#6 Message il y a 10 ans Je refais un essai aussi, j'ai replacé l'option Storage à "auto" et SystemMaxUse à "50M". Je vous tiens au courant d'ici quelques jours. Stéphane - Le HavreDesktop - Manjaro-Mate x86_64 - CPU : Intel® Core i3-4130 @3.4 GHz - RAM 4 Go DDR3 1600MHz - MoBo : Gigabyte GA-H81M-S2PVVidéo : Intel® HD Graphics 4400 (pilote libre) - Kernel 4.0
#7 Message il y a 10 ans Raté
$ du -h /var/log/journal 8,0M /var/log/journal/915d9c2b815c49a69c2c2481f9db5598 1,3M /var/log/journal/139a95830ee84c79b3b10df78613d089 1,2M /var/log/journal/45955aa3741a4a2e844e96ec905d8089 1,2M /var/log/journal/02b885c7408b4f8b87809555ad1787d9 8,1M /var/log/journal/915da984717444ffbff363a28e431f31 8,1M /var/log/journal/0a9807696c044f05bbe2e2806246ae8a 1,3M /var/log/journal/f3cceca742e647b2896017aa3b7970ab 812K /var/log/journal/c5c1f1488265441c9db2ab9d5d9428f3 1,4M /var/log/journal/38fde96b9de3476a96b253cedba7ec41 8,0M /var/log/journal/e917c634ad594c43b81f1a4719df300c 3,0M /var/log/journal/95632e02ae5442a08052961a53fb7611 1,2M /var/log/journal/5686c1c45a624203a26cec9c7266511b 8,0M /var/log/journal/793b175b337249b4a888ed1c657a96ee 1,2M /var/log/journal/4c44a39a3228492c98296417e79f4521 53M /var/log/journal
Stéphane - Le HavreDesktop - Manjaro-Mate x86_64 - CPU : Intel® Core i3-4130 @3.4 GHz - RAM 4 Go DDR3 1600MHz - MoBo : Gigabyte GA-H81M-S2PVVidéo : Intel® HD Graphics 4400 (pilote libre) - Kernel 4.0
ewolnux Père Fondateur Signature : Signature
#8 Message il y a 10 ans Pour l'instant :
$ du -h /var/log/journal 1,3M /var/log/journal/15d5c4bb2de84adfaf143cb76d3b9097 2,1M /var/log/journal/df62bd6cd5bb4b3185c9784973eed472 1,3M /var/log/journal/a4ff4ccf537c4ea1af197d2190a588db 2,6M /var/log/journal/c59a1aec4d24474aa8bb961cc6abfd8e 1,2M /var/log/journal/d7af2609e6e74e85ae4c0d3db44618c4 1,4M /var/log/journal/1ce8a345cf554c72bc9ee2815c6f1d40 1,4M /var/log/journal/21f2ec5b06874fd096b1b2ade99c3262 11M /var/log/journal
à suivre ... Desktop - Manjaro-KDE x86_64 Stable / Arch-KDE x86_64 - CPU : Intel® i5-3570K @ 3.40GHz - RAM 8 GO - Carte-mère : MSI Z77A-G45
Carte graphique : Intel® HD Graphics 4000 - Audio device: Intel Corporation Panther Point High Definition Audio Controller
Laptop – Manjaro-XFCE x86_64 - CPU : Intel Pentium Dual-Core B940 - Carte graphique : Intel HD Graphics 3000