Operating System - HP-UX
1832607 Members
2512 Online
110043 Solutions
New Discussion

Re: TSM Processes: all pseudo ttys are busy

 
SOLVED
Go to solution

TSM Processes: all pseudo ttys are busy

hello all,

i have a little problem, with my unix-server /hpux11i/.
i had an error from my tsm with following message: 'TSM process: All pseudo ttys are busy'

when i got this message i was modifying some kernelfiles
1. maxusers
2. npty
3. nstrpty
4. nstrtel

After a reboot, i got the same error-message again, what do i have to do, that this problem is not occuring anymore ?

Thanks alot for your help
Claudius
14 REPLIES 14
Ravi_8
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

Hi

#insf -e

let us know after execution of this
never give up
Shaikh Imran
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

Hi,

have you tried
insf -e -n 80
This will create device files for 80 pseudo terminals.
And
insf -e -s 100
This will create 100 nsrpty's

Regards,

I'll sleep when i am dead.

Re: TSM Processes: all pseudo ttys are busy

i still have this problem after running insf -e
RAC_1
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

What is this TSM process?? Something Tivoli stuff??

Anil
There is no substitute to HARDWORK

Re: TSM Processes: all pseudo ttys are busy

hi,

i also tried
insf -e -n 80
and
insf -e -s 100
but it didn't work...

Re: TSM Processes: all pseudo ttys are busy

hello anil,
no its not...the tsm is for multiple sessions on a terminal and/or terminalemulation...and it
uses ttys/ptys etc...and i have the problem that all processes are busy after a reboot...
Shaikh Imran
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

hi,

what is the output of
sysdef |grep npty
&
sysdef |grep nsrpty

npty should be 60 &
nsrpty = 1024


Regards,
I'll sleep when i am dead.

Re: TSM Processes: all pseudo ttys are busy

hi,
for npty the output is 200 (i was modifying it to 200)
and for nstrpty 200 (also modifyied) as well should i set it up to 1024 ?

regards
Shaikh Imran
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

hi,

I will advise you to increase nsrpty value to 1024 .

Regards,
I'll sleep when i am dead.

Re: TSM Processes: all pseudo ttys are busy

hi,

i was increasing the nstrpty to 1024
i still have the same error-message

regards
claudius
Bill Hassell
Honored Contributor

Re: TSM Processes: all pseudo ttys are busy

There are several processes that are changing from standard tty devices to streams-based tty devices, so you need to make all 3 pty parameters the same and make them larger. I would recommend setting:

npty=2048
nstrtel=2048
nstrtel=2048

Do this in SAM and the insf -e command is run automatically for you. Note that setting this to a large value does not make the kernel very large...it creates device files (which are just directory entries) and sets up some small tables in kernel memory.

And whatever you do, do not try to run TSM without the latest cumulative patch. It is quite complicated code and a lot of fixes have been implemented after the first release. TSM is a terminal-based multi-session program that provides the equivalent of multiple windows on a simple terminal.


Bill Hassell, sysadmin

Re: TSM Processes: all pseudo ttys are busy

Hi Bill,

i was modifying all 3 kernelentries to 2048.
and i still have this problem...
could it be that there is something else,
maybe some .lock files etc...which the server is not deleting by a reboot..??
Bill Hassell
Honored Contributor
Solution

Re: TSM Processes: all pseudo ttys are busy

I would suspect patches first. Get the lastest TSM cumulative patch and also the latest TTY patches. Since TTY handling is related to networking, you may need to install some of the latest LAN patches too. Or better yet, just install the HWE and QPK packages.

You can look through /dev and see if all the device files for tty's are crw-rw-rw- 2 bin tty ... Since you rebooted, only your current session should have a tty device file with permissions other than crw-rw-rw- and an owner other than root:bin. Fix all the /dev/tty* and /dev/pty device files.


Bill Hassell, sysadmin

Re: TSM Processes: all pseudo ttys are busy

Hi Bill,

i have found the problem.
before your message was arriving me, i have seen that some user-privileges weren't correct.
Now its working again.

Thank you All for your help...:)