User Tools

Site Tools


doc:appunti:linux:sa:debian_upgrade_12_13

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:debian_upgrade_12_13 [2025/12/09 17:13] – [Syslog] niccolodoc:appunti:linux:sa:debian_upgrade_12_13 [2025/12/09 17:24] (current) – [Syslog] niccolo
Line 46: Line 46:
 </file> </file>
  
-Al restart del servizio systemd-journald viene creato un opportuno punto di montaggio in **tmpfs**.+Al restart del servizio systemd-journald viene creato la directory **/run/log/journal/** in **tmpfs**.
  
-Per limitare lo spazio utilizzato su memoria permanente (filesystem su disco) si possono usare diverse opzioni **%%System*%%**, per gestire lo spazio in memoria volatici si usano le omologhe **%%Runtime*%%**:+Per limitare lo spazio utilizzato su memoria permanente (filesystem su disco) si possono usare diverse opzioni **%%System*%%**, per gestire lo spazio in memoria volatile si usano le omologhe **%%Runtime*%%**:
  
 ^  For persistent file system  ^^ ^  For persistent file system  ^^
-^ SystemMaxUse       | How much disk space the journal may use up at most. Default to **10%** of the partition where ''/var/log/journal/'' resides. +^ SystemMaxUse        | How much disk space the journal may use up at most. Default to **10%** of the partition where ''/var/log/journal/'' resides. 
-^ SystemKeepFree     | How much disk space systemd-journald shall leave free for other uses. | +^ SystemKeepFree      | How much disk space systemd-journald shall leave free for other uses. | 
-^ SystemMaxFileSize  | How large individual journal files may grow at most before rotating. +^ SystemMaxFileSize   | How large individual journal files may grow at most before rotating. 
-^ SystemMaxFiles     | How many individual journal files to keep at most in rotation.  |+^ SystemMaxFiles      | How many individual journal files to keep at most in rotation.  |
 ^  For volatile in-memory file system  ^^ ^  For volatile in-memory file system  ^^
-^ RuntimeMaxUse      |  |+^ RuntimeMaxUse       | In Debian, the default ''/run/log/journal/'', resides into the ''/run'' tempfs. 
 +^ RuntimeKeepFree     
 +^ RuntimeMaxFileSize  |  | 
 +^ RuntimeMaxFiles     |  |
 ^  Rotation  ^^ ^  Rotation  ^^
-^ MaxFileSec         | The maximum time to store entries in a single journal file before rotating to the next one. Use it to ensure that not too much data is lost at once when old journal files are deleted. +^ MaxFileSec          | The maximum time to store entries in a single journal file before rotating to the next one. Use it to ensure that not too much data is lost at once when old journal files are deleted. 
-^ MaxRetentionSec    | The maximum time to store journal entries. If you need a retention shorter than the one imposed by SystemMaxUse.  |+^ MaxRetentionSec     | The maximum time to store journal entries. If you need a retention shorter than the one imposed by SystemMaxUse.  |
  
 This is an example on how to limit the disk space used and to determine rotaton policy (rotate once a day, keep 366 files i.e. one year): This is an example on how to limit the disk space used and to determine rotaton policy (rotate once a day, keep 366 files i.e. one year):
doc/appunti/linux/sa/debian_upgrade_12_13.1765296820.txt.gz · Last modified: by niccolo