From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325906541.tru64-unix-managers.marc@archive.invalid> From: "William H. Magill" Date: Thu, 07 Dec 1995 14:37:50 +0000 To: tru64-unix-managers Subject: Summary:telnet-all ports full : new process for adding ptys in 3.2C X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325906541 Several folks essentially agreed with my original guess - out of ptys, but "Don.Ritchey@chipsi.com" was the one to put me on the track of the real problem/answer. Basically, in 3.2C there is a poorly documented change to the process for configuring additional ptys into the kernel. Page 4-6 of the release notes is the admonition: "pseudo-device rpty xxx" is replaced by "option RPTY" The next page has a clue "See the 'System tuning and Performance Management manual' for information on how to configure the number of "rptys"... The problem is that the only entry in System tuning is an appendix reference to "nptys attribute". The procedure in 3.2C to increase the number of ptys now requires the use of "sysconfig (8)" and the "sysconfigdb (8)". "sysconfig -s" will display all known subsystems "sysconfig -q pts" will display the value of the npty parameter. While /etc/syscofigtab is an ASCII text file in "stanza" format, it is recommended that sysconfigdb be used to modify it... see the man pages for details. So to configure for 912 ptys.... 1. In the kernel configuration file, change pseudo-device rpty xxx to options RPTY - AND - 2. in /etc/sysconfigtab, add pts: nptys = 912 3. one then creates the /dev entries via the MAKEDEV macros... ./MAKEDEV PTY_1 creates ptys 0 thru 22 ... total count 368 (16x23) ./MAKEDEV PTY_2 creates ptys 23 thru 45 ... total count 368 (16x23) ... grand tl 736 ./MAKEDEV PTY_3 creates ptys 46 thru 56 ... total count 176 (16x11) ... grand tl 912 T.T.F.N. William H. Magill Information Services and Computing (ISC) University of Pennsylvania Internet: magill@isc.upenn.edu magill@acm.org magill@upenn.edu http://pobox.upenn.edu/~magill/