Operating System - HP-UX
1837981 Members
1769 Online
110124 Solutions
New Discussion

Re: PTY Error when i use spawn

 
joe_91
Super Advisor

PTY Error when i use spawn

Team:

When i do spawn /usr/sbin/ping $Hostname -n 2

on a 11.0 box i get the error that we run out of pty. What could be the reason

Thanks

Joe.

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: PTY Error when i use spawn

insf -e

may solve the problem.

You may need to increase two kernel parameters and run the command again:

nstrpty
nstrtel

This will require a recompile of the kernel and move to production.

This is most easily done with sam

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
joe_91
Super Advisor

Re: PTY Error when i use spawn

Hi:

insf -d pts -s 100 -e.

Can we use this command? Can i run this command in production environment with telnet users logged on?

Thanks

Joe
joe_91
Super Advisor

Re: PTY Error when i use spawn

if I run this command will it take a reboot? also will the kernel parameter nsptry change?

Thanks

Joe.