1836741 Members
2895 Online
110109 Solutions
New Discussion

outage of xtem logins

 
sarma
Advisor

outage of xtem logins

Hi
we experienced login problems using x-windows. Even the root user can't get in to the x-windows. But the telenet sessions were fine. How do we solve these sort of issues ?
thanks
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: outage of xtem logins

Sounds like you need to increase some kernel parameters:

Have a look at the values of:

npty
nstrpty
nstrtel

Increasing the parameters requires the kernel to be recompiled and the machine to be rebooted.
sarma
Advisor

Re: outage of xtem logins

Does this get logged into the syslog ? Is there any way to trap some of the resource issues ?
RAC_1
Honored Contributor

Re: outage of xtem logins

Check what is causing it.
/var/dt/Xerrors
syslog.log
~/.dt/errorlog
There is no substitute to HARDWORK
sarma
Advisor

Re: outage of xtem logins

All those are set to 60. We donot normally have a heavy load on these boxes.
npty
nstrpty
nstrtel

If they reach a limit, does it automatically disable new xtem logins ? I did not see any errors in /var/dt/Xerrors other than the usual font related log files .
Patrick Wallek
Honored Contributor

Re: outage of xtem logins

In a nutshell -- Yes.

The npty and nstrpty and most likely your culprits. The ntsrpty controls the number of streams based pty's on your system. The default is 60.

If you do a "who | grep pts | wc -l" I bet you see the number 60 returned.

If you increase npty and nstrpty, your problem should go away.
sarma
Advisor

Re: outage of xtem logins

As per the suggestions, we will watch in future for these kernel parameters