rsyslog: imfile state files not removed automatically

Solution In Progress - Updated -


  • When rsyslog imfile configurations are in place to read in a log file for processing by rsyslog, the related state files used for keeping track of the messages that have been processed are not removed automatically. After extended periods of time, this can result in the cluttering of the directory and eventually exhaustion of space on the partition where the rsyslog working directory exists.


  • Red Hat Enterprise Linux 7
    • all rsyslog versions
  • Red Hat Enterprise Linux 8
    • rsyslog version < rsyslog-8.2102.0-10.el8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content