From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078705511551.tru64-unix-managers.marc@archive.invalid> From: Lew Randerson Date: Wed, 15 Apr 1998 15:10:51 +0000 To: tru64-unix-managers Subject: Updating pty's dynamically X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078705511551 Hi, How can the number of pty's be updated dynamically? The alpha_osf_managers archive has been searched and the specific issue of dynamic increasing of pty's is not addresed. At least not in enough detail that I have had success. The System Admimistration manual and the sysconfig(8) man pages say it can be done but ... no success so far. Here's the long story: o The system is running Digital Unix V3.2C. o The RPTY option (NOT the pty pseudodevice) is used in the system configuration file. o The LDTTY option is also in the system configuration file. o In /dev ptys range from ptyp0 to ptysf $ cd /dev $ ls pty* ptyp0 ptypa ptyq4 ptyqe ptyr8 ptys2 ptysc ptyp1 ptypb ptyq5 ptyqf ptyr9 ptys3 ptysd ptyp2 ptypc ptyq6 ptyr0 ptyra ptys4 ptyse ptyp3 ptypd ptyq7 ptyr1 ptyrb ptys5 ptysf ptyp4 ptype ptyq8 ptyr2 ptyrc ptys6 ptyp5 ptypf ptyq9 ptyr3 ptyrd ptys7 ptyp6 ptyq0 ptyqa ptyr4 ptyre ptys8 ptyp7 ptyq1 ptyqb ptyr5 ptyrf ptys9 ptyp8 ptyq2 ptyqc ptyr6 ptys0 ptysa ptyp9 ptyq3 ptyqd ptyr7 ptys1 ptysb o /etc/sysconfigtab currently does not have a pts subsystem entry. 1) When connecting to a system running Digital Unix V3.2C, this happens: $ rsh hydra Out of ptys: Error 2Connection closed. There are a lot of connections and when there are less connections the problem goes away. 2) I would like to update the number of ptys dynamically, but fail. Here's the method: # /sbin/sysconfig -q pts nptys = 255 # /sbin/sysconfig -r pts nptys=512 subsystem error: Invalid argument This message comes out on the system console: STREAMS: module 'pts' configure failed (22) 3) On a test system, I can also not update the number of ptys dynamically I can however by updating /etc/sysconftab and rebooting the system. I do not have to do a cd /dev; ./MAKEDEVS PTY_... Thanks for any help, --Lew lranderson@Pppl.GOV