After removing the Xorg log file still the space still shows as consumed for the given filesystem on my RHEL server.
Issue
- After taking the backup and removing the Xorg log file still the space getting increase.
- Root FS is getting full because of the Xorg files. Even though I have taken a backup and deleted them, the files are still occupying the space on the root FS.
[root@server]# cat lsof | grep deleted
Xorg 3009 0 0w REG 253,0 18758591232 264962 /var/log/Xorg.0.log.05122015old (deleted)
Xorg 3009 0 2w REG 253,0 16553918847 264976 /var/log/gdm/:0.log (deleted)
About 32Gbs of space being consumed by the above shown files, i.e /var/log/Xorg.0.log.05122015old (deleted) and /var/log/gdm/:0.log (deleted).
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_slash 51606140 43733920 5250780 90% / ===> /var is not a separate mount point.
[root@server]# grep 3009 ps
root 3009 11.4 0.0 168324 37124 tty1 Ss+ Oct09 10337:44 /usr/bin/Xorg :0 -nr -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-1xunN1/database -nolisten tcp vt1
Environment
- Red Hat Enterprise Linux 6.7
- Filesystem saturation issue because of the Xorg logs.
- SELINUX enforcing
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.