bediger@uunet.uu.net (bruce allen ediger) (02/02/91)
I'm running uab+, a unix-to-appletalk bridge on a Sparcstation 330 under SunOS 4.0.3. I'm using the version of uab that uses nit network interface tap STREAMS modules running as a user process (albeit owned by root). Periodically, something happens that causes terminal I/O to stop. Sunview continues to work, in that I can move windows, and open and close them, but telnet and rlogin from another machine say "/dev/ttyp0: no such address or device". Console messages (on the sparcstation running uab) come up saying "ldtermopen: open fails, can't allocate state structure". The Sparcstation still responds to ping from another workstation, and it is possible to use rsh from other workstations, as long as the command to be run on the sparcstation is specified on the rsh command line. Without the specific command, the message about /dev/ttyp0 (no such device or address) returns. Killing the uab process immediately fixes the problem. I can't figure out what gives, since ps -augxw says that the uab process has only about 4% of real memory, and netstat -m shows this: rtgds2 22# rsh rtgds1 netstat -m 413/448 mbufs in use: 133 mbufs allocated to data 12 mbufs allocated to packet headers 87 mbufs allocated to socket structures 120 mbufs allocated to protocol control blocks 21 mbufs allocated to routing table entries 38 mbufs allocated to socket names and addresses 2 mbufs allocated to interface addresses 0/24 mapped pages in use 80 Kbytes allocated to network (64% in use) 0 requests for memory denied streams allocation: cumulative allocation current maximum total failures streams 17 21 215 0 queues 60 78 792 0 mblks 446 509 31883137 0 total dblks 446 509 16468520 7344856 size 4 dblks 0 67 396842 0 size 16 dblks 5 36 237979 0 size 64 dblks 252 255 10619144 2352870 size 128 dblks 108 108 3108822 3085232 size 256 dblks 36 36 679316 900703 size 512 dblks 7 7 52628 163200 size 1024 dblks 10 10 1140133 455289 size 2048 dblks 28 28 233656 370970 size 4096 dblks 0 0 0 16592 rtgds1 is the sparcstation that uab is running on, rtgds2 is allowed root access via rsh.