/storage/log filling up with imfile-state files | rsyslogd
book
Article ID: 318149
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vCenter Server 7.0VMware vCenter Server 8.0
Issue/Introduction
/storage/log is filling up and there are many files in the /var/log/vmware/rsyslogd directory. The contents of /var/log/vmware/rsyslogd/ may or may not be listed.
Environment
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
Cause
The imfile-state:XXXX files are created due to the rsyslog daemon's method of tracking messages that have already been sent to the syslog server.
Resolution
This issue is resolved in VMware vCenter Server 7.0 Update 3q (P09) Build 23788036
To workaround this issue, create a cron job manually to clear the files.
Login to vCenter Server using ssh
Remove all the files immediately (before creating the cron job), run the following command and wait until it is finished