tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Updating pty's dynamically
@ 1998-04-15 15:10 Lew Randerson
  0 siblings, 0 replies; only message in thread
From: Lew Randerson @ 1998-04-15 15:10 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-04-15 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-15 15:10 Updating pty's dynamically Lew Randerson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox