User session friz after X minutes

hello

work on aix 5.3
user session frix after X minuets
what i can be the reason

thx

ariec

Graphical session or terminal session?
What do you mean by "frix"? No response to key strokes? Black screen?

sorry my mistake , freezing no frix
terminal session

does not respond to any key
need to close the session and open a new one

thx
ariec

@arieco , if its frozen how are you closing the session ?

preferably don't close it, create another session, then try to monitor the frozen session
using one more more - top / sar/ lsof /ps / nmon ...
ask your sysadmins to see if they can help.

The command
proctree
from a second session is most promising.
Run command
echo $$
so you can distinguish the new alive session from the dead session.
Does the dead session have any child processes?

What is your login shell?
echo $SHELL
might show it. (Or grep your login name in the passwd.)
Do you have an auto-logout configured? Most shells have TMOUT
echo "$TMOUT"

hello

/bin/tcsh - shell
echo "$TMOUT" - TMOUT: Undefined variable.

Ah okay, in tcsh it is
echo $autologout
(minutes)
If this would freeze the shell then it makes sense to disable it:
unset autologout

in the next login the parameter return to echo $autologout = 60
where $autologout is define in tcsh ?
thx

Does it help?
I have guessed that it might help. Normally it prints "autologout" and logs out.

Assuming that it helps, where is it defined?
Might be compiled in.
Look in your home directory
ls -la
is there a file .tcshrc or .cshrc ?
Then append the unset autologout command to the file!
If both files are not present then create one of them, and put the command.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.