I am not starting any background processes or anything that is tied to
that sessions.
are you using tivoli monitoring (ITM v6)? I remember a flaw in the ITM
kuxagent process. The agent periodically scans for logged in users and
opens the pseudo terminal device associated with their session (/dev/pts
IIRC). This results in the exact symptom you describe. Can be easily
verified with "lsof -p <pid of kuxagent>"
Regards
Very interesting. Yes, the system I'm connecting to is running the
kuxagent. Running the lsof command against it's PID gives me about
two pages of info, most of with are /dev/pts/xx devices 0-35.
Why is it opening the pts'? And how are the two related...logging in,
Tivoli spinning off a PTS and hanging my session upon logout?
Well, a pts/xxx device is being opened for each remote login. That's
normal. The fact that kuxagent also opens them later on and never closes
them prevents your remote login from terminating correctly (and the
pts devices from being reused). To make it worse, there is a limit on
the number of ptys, once you reach it you won't be able to login
remotely anymore (check your max with "lsattr -El pty0" IIRC).
I have discovered this earlier this year and opened a PMR with ITM
support. They sent me a hotfixed binary which did not open pts devices
anymore. Since I have handed on the ITM related stuff in the meantime, I
don't know if it has been fixed in the official release.
Good Luck
Joachim