SUMMARY: out of mblks on SunOS 4.1.3_u1

From: Ronald W. Henderson (rwh@atmos.albany.edu)
Date: Mon Oct 31 1994 - 21:37:46 CST


Sun Managers:

It turned out that we loaded v1.1 of Sun's SPC serial board driver and for
the SunOS 4.1.3_u1 you need to load the lastest version which is v1.2. So far
the system has not hung after we upgraded to the lastest rev.

There still seems to be an accounting problem with the current mblks and
dblks reported with the 'netstat -m' command. The counts keep monotonically
increasing in value:

asrcss2:/# netstat -m
298/512 mbufs in use:
        1 mbufs allocated to data
        8 mbufs allocated to packet headers
        122 mbufs allocated to socket structures
        159 mbufs allocated to protocol control blocks
        3 mbufs allocated to routing table entries
        2 mbufs allocated to socket names and addresses
        1 mbufs allocated to zombie process information
        2 mbufs allocated to interface addresses
0/28 cluster buffers in use
92 Kbytes allocated to network (40% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

streams allocation:
                                         cumulative allocation
                      current maximum total failures
streams 16 20 18438 0
queues 60 72 73533 0
mblks 78852 78866 25258740 0
dblks 78852 78866 25258740 0
streams buffers:
external 0 0 0 0
within-dblk 78605 78618 6996559 0
size <= 16 24 43 963676 0
size <= 32 2 5 2130136 0
size <= 128 548 709 12262437 0
size <= 512 0 2 2872216 0
size <= 1024 0 2 11775 0
size <= 2048 0 2 21314 0
size <= 8192 0 1 610 0
size > 8192 0 0 0 0

If anyone can shed some light on this one it will be helpful....

ORIGINAL POST:
--------------

I have a tough one, that is at least for me: The system is a Sparc 2 running
SunOS 4.1.3_u1, It is running NIS, DNS, bootp, and also has a Sun 8 port serial
parallel controller. The system is patched with the lastest recommended patches.

The problem: Every three to five days the system hangs hard. There is no core
             files produced when the system hangs. I have savecore enabled
             just in case. There is a mesage on the console though before the
             hang occurs:

                Oct 11 21:22:28 asrcss2 vmunix:xmballoc: out of mblks

I looked in sun solve and there is a bug report for something similar:
Bug ID: 1178665 It is related to a STREAMs memory leak.

Has anyone out there seen this problem? Any suggestions for a fix or something
to try to alleviate this problem would be appreciated....

      ________ __ __ __ __
     /\_\_\_\_\ /\_\ /\_\ /\_\ /\_\
    /\/_/_/_/_/ /\/_/ /\/_/ /\/_/ /\/_/ Ronald W. Henderson
   /\/_/__\/_/ /\/_/ __ /\/_/ /\/_/___/\/_/ SUNY-Albany
  /\/_/_/_/_/ /\/_/ /\_\ /\/_/ /\/_/_/_/_/_/ (518) 442-4571 Phone
 /\/_/ \/_/ /\/_/_/\/_/_/\/_/ /\/_/ /\/_/ (518) 442-5825 Fax
 \/_/ \/_/ \/_/_/_/_/_/_/_/ \/_/ \/_/ rwh@atmos.albany.edu
 --------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:13 CDT