Bug 1258459

Summary: Too many socket files in /tmp/orbit-user folder
Product: Red Hat Enterprise Linux 6 Reporter: Deepu K S <dkochuka>
Component: ORBit2Assignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.6CC: alanm, albin.gustavsson, anrussel, creffett, cww, david.knapik, dkochuka, donovanj, jaeshin, jaroslaw.polok, jreznik, mkolaja, number.cruncher, riehecky, rstrode, sbenedict, sschaefer, tpelka
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ORBit2-2.14.17-6.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1391976 (view as bug list) Environment:
Last Closed: 2017-05-24 14:37:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269194, 1363705, 1391976    

Description Deepu K S 2015-08-31 12:44:46 UTC
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
ORBit2-2.14.17-5.el6.x86_64

How reproducible:
Always.
'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'.

Actual results:
The linc socket files gets accumulated with each login.

Expected results:
The older socket files should get cleared once user logs out from GNOME session.

Comment 4 David Knapik 2016-08-08 15:33:15 UTC
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.

Comment 9 Stew Benedict 2017-08-02 15:59:23 UTC
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[1928]: 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)
console.error:

IMO linc-cleanup-sockets should be moved to the main package.