From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110543.tru64-unix-managers.marc@archive.invalid> From: Joseph C King Date: Mon, 20 Oct 1997 14:53:00 +0000 To: tru64-unix-managers Subject: [Summary] All network Port in Use X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110543 Well I worked. What I ended up doing is well..... not much in the end. A word of advice.... YOU NEED TO MAKE THE PTY's in ORDER!!!! if you don't make them in order it doesn't magically jump to the next availiable if it isn't is order. A lesson that took me a few hours on a Saturday to learn. All I did is MAKEDEV PTY 2 MAKEDEV PTY 3 MAKEDEV PTY 4 and all is well. If you want to see how many you have configed in the kernal sysconfig -q pts Below is the orignal question and replies. Thanks for all your input. Joe ------------ On Thursday, October 16, 1997 12:01 AM, Joseph C King > I know this has been asked to the list a few times..... > But I couldn't find a good Summary. > > What do you do when you get a "All Network Ports in Use" message on a 3.2 > machine. > > maxusers is configured to 32 and the OSF-USR license has 3200 units.... > and there are 32 pty's. > > So do I need to buy a license or just reconfig the kernal make MAKEDEV some > more pty's? ------------ From: Tom Webster Joseph, In general, I'd say just reconfig the kernel and MAKEDEV some more pty's. The only point you would run into trouble is if you really had more than 32 distinct users trying to connect. Tom ----- From: "Randy M. Hayman" Joseph - To make more pty's: # cd /dev # MAKEDEV pty_[1-9] # depending on pty's to create (see MAKEDEV man page) Randy Hayman haymanr@icefog.alaska.edu ---- From: Matt Moore This happened to me and all I had to do MAKEDEV some more ptys. The kernel parameter should be dynamic by default but they usually give you plenty. --------------------------------------------------------------------- Matt Moore N3LPH Bucks County Community College E-mail: moorem@bucks.edu Swamp Road Newtown PA 18940 --------------------------------------------------------------------- ------ From: If you have memory enought configuring maxusers to 128 or so is a good idea, but it doesn't help this problem. You need to add pseudo-device ptys 256 (or whatever value you think is fit) to your kernel config file, dodonfig, install & reboot. Then cd /dev; ./MAKEDEV pty2 pty3 pty4 ...etc Each one creates 16 new ptys --harald -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*- Joseph C. King | Systems Administrator | Community of Science, Inc. | Baltimore, MD | (410)563-2378 (V) | (410)563-5389 (F) |