Red Hat Bugzilla – Bug 1258459
Too many socket files in /tmp/orbit-user folder
Last modified: 2017-08-02 11:59:23 EDT
Description of problem:
Lots of linc socket files are created under '/tmp/orbit-<user>'. This is filling up the inodes in /tmp and creating a problem.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6.6
'linc-cleanup-sockets' command does clean this, but would like to see a permanent fix.
Steps to Reproduce:
1. Happening on a server with multiple user's logged in (running gnome-session). User's are from ldap using vasd client authentication.
2. On another server, happening only for specific user. 'gnome-session' is launched by '/usr/libexec/nx/nxagent'.
The linc socket files gets accumulated with each login.
The older socket files should get cleared once user logs out from GNOME session.
Problem exists on RHEL6_U8 as well. Same situation where we have users running gnome sessions remotely either through VNC or ExceedOnDemand.
It is not 100% all of the time, but something happens to the session and the number of orbit sockets that user creates consumes all inodes on the /tmp volume.
It the case I just cleaned up today it was over 6.8M inodes.
This took the linc-cleanup-sockets about 2 hours to clear on the running system.
Granted it does try to clean up at start now, but if you don't have the devel package installed (we strip as many devel packages from production systems as we can), you get this error now:
gnome-session: WARNING: Could not launch application 'linc-cleanup-sockets.desktop': Unable to start application: Failed to execute child process "/usr/bin/linc-cleanup-sockets" (No such file or directory)
IMO linc-cleanup-sockets should be moved to the main package.