Subject: not enough ports!?
To: NetBSD List <port-mac68k@NetBSD.ORG>
From: Adam Nicol Delu <abam@othello.sph.berkeley.edu>
List: port-mac68k
Date: 01/18/1996 09:29:41
When I telnet into my mac, I seem to only be able to open a few ports
before things get strange. I get the message:
Connected to localhost.
Escape character is '^]'.
telnetd: All network ports in use.
Connection closed by foreign host.
I've only got one external connection going on there, and a couple of
xterms displaying locally on my mac's X server.
I noticed in /dev/ that I only had four ptyp's. My sparc20 has 16 of
them in /dev/ptyp, 16 in /dev/ptyq, 16 in /dev/ptyr, for a total of 48
pseudoterminals.
Any idea how to create more of them? Or is this the answer. I don't
know how to use MAKEDEV, but I fear I'll have to learn.
I noticed that when I try to rlogin into the machine I get the message:
abam 1% rlogin localhost
rlogind: Out of ptys.
rlogin: connection closed.
The same happens if I log in remotely. Okay, so anyone know what to do?
Hope this is not a limitation of the hardware or kernel. . . .
the goods:
^^^^^^^^^^
It's a mac IIci, 8MB, MacCon 32 ethernet, 14.4kbps piece o' crap(tm) modem,
onboard video (monochrome, won't run X server in color, hangs), 500, 700
and 80 MB hardrives.
load:
^^^^
11:30AM up 11:33, 2 users, load averages: 0.16, 0.22, 0.24
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ?0 ?1 ?2 ?3 in sy cs us sy id
0 0 0 14528 324 5 1 0 0 0 0 0 0 0 0 202 54 13 2 3 95
2 0 0 15600 324 11 4 4 1 0 1 0 0 0 0 212 92 20 2 6 92
Okay, so it's always paging out! Will try to fix with another 16MB of
RAM. anyone got any 4MB 30 pin SIMMs 4sale?
Kernel:
^^^^^^
NetBSD 1.1A (GENERIC) #50: Thu Dec 28 17:07:09 PST 1995
More, I cannot tell you.
I can run 10 HTTP daemons, sendmail, inetd, cu, slattach, X, xterms,
xclock. . . . ftp. . . . quite successfully with no problems or
slowdowns, no "running out of ports", "no more processes" etc. So I
don't think it's really out of resources.
Thanks in advance,
Adam Delu
best to reply to: abam@ohwig01.houston.omnes.net