FSync¶
Force fsync()
on the state file to guard against crash corruption.
This parameter applies to imjournal: Systemd Journal Input Module.
- Name:
FSync
- Scope:
module
- Type:
boolean
- Default:
module=off
- Required?:
no
- Introduced:
8.1908.0
Description¶
When enabled, the module synchronizes the state file to persistent storage after each write. This reduces the risk of duplicate messages after abrupt shutdowns at the cost of additional I/O.
Module usage¶
module(load="imjournal" FSync="...")
Notes¶
Historic documentation called this a
binary
option; it is boolean.May significantly impact performance with low
PersistStateInterval
values.
See also¶
See also imjournal: Systemd Journal Input Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.