[Sunhelp] ptys
McIntire, John
john_mcintire at unitrode.com
Tue Jun 8 07:49:28 CDT 1999
I saw that in FAQ but when I went to check it I had no system file within
/etc, so that is why I ask, any ideas where this is set?
> -----Original Message-----
> From: Duffin, Keith (CAP, GEFA) [SMTP:Keith.Duffin at gecapital.com]
> Sent: Tuesday, June 08, 1999 8:30 AM
> To: sunhelp at sunhelp.org
> Subject: RE: [Sunhelp] ptys
>
> Take a look at your /etc/system file. If no entry exists, you have 48.
>
> FAQ exerpt:
>
> Edit /etc/system and add the following line:
>
> * System V pseudo terminals
>
> set pt_cnt = <num>
>
> Halt the system and boot -r.
>
> You can essentially have as many as you like, but you'll probably
> run into some other limit somewhere. More than 3000 are supported.
> Solaris 2.6 and earlier have telnet/rlogin daemons that do not support
> more than 3844 sessions each. That restriction is lifted in Solaris
> 7.
>
> Some die-hard system administrator myths as well as some Sun
> documentation claim that you have to increased "sad_cnt", "sadcnt" or
> "nautopush" when adding ptys. There is no truth in this.
>
> In the unlikely event that you run out of BSD-style ptys,
> you can increase them as well. The maximum here is currently 176
> for pty[p-z][0-9a-f]. This is somewhat less that the BSD maximum of
> 256
> limited by 8 bit device minor numbers.
>
> BSD ttys are awkward to use and all programs I found support SYSV
> ptys without trouble.
>
> * You don't need this. Increasing this value too much usually
> * just wastes memory.
> * BSD applications never support more than 256 ptys.
> * Solaris 2.x supports no more than 176 BSD ptys.
>
> set npty = <num>
>
> But you're not there yet, you also need to edit /etc/iu.ap and
> substitute the new value of "npty-1" for the "47" on the following
> line,
> in case you do increase the number of BSD style ptys.
>
> ptsl 0 47 ldterm ttcompat
>
>
> Halt the system and boot -r.
>
> --- end of excerpt from the FAQ
>
> Keith Duffin
> UNIX SA/DBA/C etc...
> ORA Consultants/GE Financial Services
> Tel: (804)782-2744
>
>
> -----Original Message-----
> From: McIntire, John [mailto:john_mcintire at unitrode.com]
> Sent: Tuesday, June 08, 1999 7:57 AM
> To: 'Sun Help'
> Subject: [Sunhelp] ptys
>
>
> I got system on SunOS 4.1.4 2 sun4m which is running out of ptys. Being
> still new to Sun how do you tell what it is set for and what is the max it
> can be set for?
>
> Thanks in advance
>
> John McIntire
> Senior Systems Analyst
> Unitrode Corporation
> 7 Continental Blvd
> Merrimack, NH 03054
> Tel: (603)429-6227
> Fax: (603)429-6085
>
>
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list