From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,17c387ad7b9f0c2,start X-Google-Attributes: gidfee84,public From: Art Werschulz Subject: ptys Date: 1998/06/04 Message-ID: #1/1 X-Deja-AN: 359532536 Organization: Fordham University/FCLC Newsgroups: comp.unix.osf.osf1 Hi. We are running DU 4.0 on a DEC AlphaServer 1000. Last night, when about 15 students were simultaneously logged in on exploras and running script, they started getting error messages "no more ptys." Examination of /dev revealed 64 files with names pty[n-q][0-9a-f]. Thinking that perhaps each student could be using several pty's in /dev, we tried creating more pty's. In MAKEDEV there are some convenience targets to create groups of pty's, so assuming PTY_1 was already made, we did ``MAKEDEV PTY_2''. This created 336 files with names pty[A-U][0-9a-f]. The problem persisted, however, until we rebooted. Must the kernel be reconfigured with more ptys? We tried reading manpages, but did not find anything that said what to do to increase the usable number of pty's. Rebooting may have helped merely by bumping off yourself and a couple other idle users. In fact, after the class got back on, things were OK for awhile, but when we tried to fire up an xterm on the DU box from another machine it said "no more ptys" for us. So we suspect a kernel config setting has to be upped. We looked in /usr/sys , but all we found was pty.h, which contains the one line #define NPTY 0 Thanks. -- Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? Net: agw@dsm.fordham.edu WWW Phone: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061