Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

aix telnet logout hangs

46 views
Skip to first unread message

dwc...@gmail.com

unread,
Jun 26, 2008, 10:47:44 AM6/26/08
to
Anyone seen a Putty telnet or Xwindow session ( using SSH ) hang on
logout? It seems that after some time spent in a host running various
commands, a CTRL+D or exit will simply disconnect and hang. The
session does not completely terminate.

I am not starting any background processes or anything that is tied to
that sessions.

Joachim Gann

unread,
Jun 26, 2008, 12:13:47 PM6/26/08
to

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

dwc...@gmail.com

unread,
Jun 26, 2008, 12:38:30 PM6/26/08
to
On Jun 26, 11:13 am, Joachim Gann <joachim.g...@gmail.com> wrote:

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?

Joachim Gann

unread,
Jun 26, 2008, 1:10:06 PM6/26/08
to


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

0 new messages