Hide Forgot
Created attachment 1594531 [details] screenshoot of command output Description of problem: There are about 2 millions hide files with random name (.#numbersletters) in /run/systemd/users/. /run is mounted as tmpfs, so they take up a lot of memory space. Version-Release number of selected component (if applicable): systemd-219-42.el7_4.4.x86_64 Steps to Reproduce: 1. free -m 2. du -sh /run/systemd/users 3. ls -al /run/systemd/users/ 4. cat /run/systemd/users/.#......... Actual results: [root]#free -m total used free shared buff/cache available Mem: 15839 9248 2543 1853 4047 4055 Swap: 8191 532 7659 [root]#du -sh /run/systemd/users 1.8G /run/systemd/users [root]#ls -al /run/systemd/users/ total 1871176 drwxr-xr-x 2 root root 3146480 Jul 30 15:19 . drwxr-xr-x 17 root root 420 Jul 30 15:10 .. -rw-r--r-- 1 root root 22472 Jul 30 15:19 0 -rw-r--r-- 1 root root 16384 May 24 09:54 .#00004aO -rw-r--r-- 1 root root 20480 May 21 14:10 .#0000zyq -rw-r--r-- 1 root root 20480 Jul 15 08:25 .#0001W3V -rw-r--r-- 1 root root 20480 Dec 14 2018 .#00057X9 -rw-r--r-- 1 root root 20480 Mar 15 12:00 .#0006jyz -rw-r--r-- 1 root root 16384 Feb 21 02:17 .#0006QLq -rw-r--r-- 1 root root 0 Feb 12 21:26 .#0006skp -rw-r--r-- 1 root root 12288 Mar 13 10:19 .#000aIht -rw-r--r-- 1 root root 0 Oct 21 2018 .#000aPoa -rw-r--r-- 1 root root 20480 Mar 26 19:24 .#000brhr -rw-r--r-- 1 root root 20480 Oct 7 2018 .#000CLHN -rw-r--r-- 1 root root 20480 Jul 1 14:02 .#000D8VE -rw-r--r-- 1 root root 0 Jul 1 19:56 .#000dK6Y -rw-r--r-- 1 root root 4096 Mar 20 17:52 .#000dOco ...................................................... [root]#cat .#05uAMhF # This is private data. Do not parse. NAME=root STATE=active RUNTIME=/run/user/0 SLICE=user-0.slice REALTIME=1513047601897825 MONOTONIC=72663882605 SESSIONS=2254484 2254483 2254482 60562 97480 95307 14609 91248 54840 57715 72467 73378 15829 41858 36335 40692 27578 45321 49993 27673 89969 69504 66111 30878 87911 96531 101711 85944 87511 39571 23638 39039 59559 52567 44222 ...................................................... What is the purpose of these files? What will happen if I delete them ?
I suggest contacting Red Hat support and also updating to the latest systemd version for RHEL-7.7.