SUMMARY: Raising maximum # of open windows in OW3.1

From: Richard J. Niziak (rickn@copley.com)
Date: Wed Sep 08 1993 - 15:40:19 CDT


THe answer is two-fold..
1st. If you are running csh, you need to place "limit descriptors 256"
in your .login, if you are NOT running csh, you need to do the following:
1) mv xnews xnews.orig
2) create a script called 'xnews'
#!/bin/csh
limit descriptors 256
xnews.orig

Not you can have up to 256 open files.. unfortunately, you will now either
run out of RAM and swap or pty's to fix this problem, you need to do the
following:

1. edit the kernel configuration file in /sys/sun4c/conf and change the
line
pseudo-device pty # pseudo-tty's, also needed for SunView to
pseudo-device pty128 # pseudo-tty's, also needed for SunView

and rebuild the kernel...

2) create more ptys...

cd /dev
./MAKEDEV pty3 pty4 pty5 pty6

Each pty<n> makes 16 devices
(pty0 pty1 and pty3 are the 48 default entries that exist already.)
For 256 devices also run

./MAKEDEV pty7 pty8 pty9 pty10 pty11 pty12 pty13 pty14 pty15

Thats IT !!

Best answer goes to :
        GLENN SATCHELL glenn@uniq.com.au !!!

Extreme thanks go out to:
Knut Somme <knut@stavanger.sgp.slb.com>
Bill Heiser <heiser@tdwr.ed.ray.com>
Michael Harris - Portfolio Stratification <mharris@jpmorgan.com>
Hal Stern - NE Area Systems Engineer <stern@sunne.East.Sun.COM>
Ian MacPhedran <Ian_MacPhedran@engr.usask.ca>
Kambiz Aghaiepour <kxaghai@srv.PacBell.COM>
Mike Raffety <miker@il.us.swissbank.com>
Michael Sullivan <mike@trdlnk.chi.il.us>
Pauline van Winsen - Uniq Professional Services <pauline@uniq.com.au>
Barry Margolin <barmar@Think.COM>

##########################################################################
                                +
Richard J. Niziak +
Systems Engineer + e:mail -> rickn@copley.com
Copley Systems + land mail -> Copley Systems, Inc
                                + 165 University Ave
                                 + Westwood, MA 02090
                                + voice mail -> (617)320-8300 x305
                                +
##########################################################################



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:10 CDT