No memory for streams (NSTRPAGES)

David Font comms at systime.co.nz
Tue Apr 8 20:21:13 PDT 2008


I am having a similar problem with a OSR5.0.7 system (MP3) with a Intel
PR/100B /PRO/100+ Adaptor. The NIC driver (ver 5.0.7a) automatically
detected the card at OS install time.

I am checking out/suspecting a recent wireless install by a third party may
be responsible with either the Access Point or the Wireless LAN card
upsetting the OS.

In my case the 4096 bytes stream head eventually overflows once the stream
memory in use exceeds the total configured stream memory (in this case at
20096KB). I have the NSTRPAGES set at 5024.

Just prior to overflowing, the netstat's are as follows:

streams allocation:
                         config    alloc     free       total      max
fail
stream                    17408      105    17303       11619      118
0
queues                      566      217      349       23412      243
0
mblks                      9658     9458      200     4023467     9593
1
buffer headers            10042     9882      160      185569     9928
0
class  1,     64 bytes      192       21      171     1297039      165
0
class  2,    128 bytes       64        0       64      683141       55
0
class  3,    256 bytes      176        9      167      427512      164
0
class  4,    512 bytes        8        6        2        3874        8
0
class  5,   1024 bytes       18        0       18        5842       17
0
class  6,   2048 bytes     9263     9262        1      649524     9263
0
class  7,   4096 bytes       60       60        0          60       60
0
class  8,   8192 bytes        0        0        0          21        1
0
class  9,  16384 bytes        1        0        1       14144        5
0
class 10,  32768 bytes        0        0        0           0        0
0
class 11,  65536 bytes        0        0        0           0        0
0
class 12, 131072 bytes        0        0        0           0        0
0
class 13, 262144 bytes        0        0        0           0        0
0
class 14, 524288 bytes        0        0        0           0        0
0
total configured streams memory: 20096.00KB
streams memory in use: 19167.23KB
maximum streams memory used: 19336.23KB

inet mblk cache: 256 = 0, 2048 = 628, 4096 = 60

networking allocation:
type          alloc        max       fail
socket           76         89          0
rawcb             0          1          0
inpcb            76         89          0
tcpcb            53         64          0
ifnet             6          6          0
route            41         45          0
ifaddr            2          2          0
ipfrag            0          0          0
sockaddr        152        178          0
iovec             0          0          0
moptions          0          2          0
ipmaddr           2          2          0
arpinfo          27         31          0
mbcl              0          0          0
ppp               0          0          0
usock            10         11          0

At overflow time, this occurs:

streams allocation:
                         config    alloc     free       total      max
fail
stream                    17408      105    17303       12141      118
0
queues                      566      217      349       24466      243
0
mblks                     10511    10146      365     4262489    10365
1
buffer headers            10554    10440      114      202373    10444
0
class  1,     64 bytes      192       22      170     1372497      165
0
class  2,    128 bytes       30        0       30      718487       55
0
class  3,    256 bytes       93        9       84      446076      164
0
class  4,    512 bytes       10        6        4        4250        8
0
class  5,   1024 bytes        4        0        4        6502       17
0
class  6,   2048 bytes     9950     9948        2      679765     9950
0
class  7,   4096 bytes       60       60        0          60       60
1943205
class  8,   8192 bytes        0        0        0          21        1
0
class  9,  16384 bytes        0        0        0       14148        5
4
class 10,  32768 bytes        0        0        0           0        0
0
class 11,  65536 bytes        0        0        0           0        0
0
class 12, 131072 bytes        0        0        0           0        0
0
class 13, 262144 bytes        0        0        0           0        0
0
class 14, 524288 bytes        0        0        0           0        0
0
total configured streams memory: 20096.00KB
streams memory in use: 20564.14KB
maximum streams memory used: 20736.38KB



Name  Mtu   Network     Address         Ipkts    Ierrs Opkts    Oerrs  Coll
net0  1500  10.1.1      sys088          645736   1447  430105   0      0
lo0   8232  loopback    localhost       7702     0     7702     0      0
atl0* 8232  none        none            No Statistics Available



 No STREAMS Buffers           0      Number of frames dropped on reception
                                     because no STREAMS buffers were
available

The "messages" file and the console continually repeat the message:

WARNING: allocb failed - NSTRPAGES exceeded

A reboot is required at this point as TCP/IP connected service degrade

I am reluctant to increase (yet) the NSTRPAGES parameter as I suspect it
will only extend the life of the OS before the overflow occurs again.

I am considering installing MP5 in the hope there is an updated Intel PRO
driver that may have a correction to this problem. In the meantime I am
shutting down the wireless network one item at a time to see if a component
on the wireless is causing the buffer overflow.

Has anyone else come across 'shonky' wireless networks as a cause of this
problem. Why is it the SCO OS is only affected - no other devices appear to
be affected? Does MP5 have a fix for this?

Dave


"N. Yaakov Ziskind" <awacs at ziskind.us> wrote in message
news:20080401132046.A10207 at egps.egps.com...
> so, today, genius administrator 'somehow' unplugs the
> firewall (on a separate box), plus, 'perhaps,' some
> switches.
>
> immediately, all the telnet sessions to the SCO 506a box
> just halt. one by one, they drop dead.
>
> console displays "No memory for streams (NSTRPAGES)"
> over and over. otherwise unresponsive. i mentally debate
> powering down the system, then i get a brainstorm, and unplug
> the server's network jack. immediately, console comes back to
> life. plug it back in, ppl can telnet again. woot.
>
> netstat -m has two funny rows:
>                        config  alloc   free    total        max fail
>
> class  1,   64 bytes      576      41     535  -701344641    562 0
> (i assume that a counter overflowed) and
> class  6,   2048 bytes   1886     597    1289  1213818877   1886 10734386
>
> (spacing slightly adjusted).
>
> 1) anyone care to toss a conjecture what the heck happened?
>
> 2) do I need to do anything now for this box?
>
> I can't recall ever seeing this message before on this box.
>
> thanks!
>
> -- 
> _________________________________________
> Nachman Yaakov Ziskind, FSPA, LLM       awacs at ziskind.us
> Attorney and Counselor-at-Law           http://ziskind.us
> Economic Group Pension Services         http://egps.com
> Actuaries and Employee Benefit Consultants









More information about the Sco-misc mailing list