Unknown Log File /.service Using Up Disk Space in Root Filesystem
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
It is observed that an unknown file is present in the root filesystem:
cd / ls -alt .service -rw-------. 1 root root 10858796857 Apr 8 10:22 .service rpm -qf .service file /.service is not owned by any package The file contains regular system logs and is constantly updated and increasing in size.
The file is being accessed by the rsyslogd service:
$ lsof /.service COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rsyslogd 356188 root 30w REG 252,3 10788007613 6701566 /.service
Cause
As the file is being accessed by rsyslogd, the cause should be the logging configuration in rsyslog.
Tagged:
0