> please send "vmstat -m" and "netstat -m" at a point when the memory
> use is medium or high.

See below. Total memory use is about 170MB.

> if you're using symon to collect your stats, it might be worth
> recording and plotting the mbuf stats it can save.

That doesn't work anymore with 4.5 -- I got loads of "symon: mbuf() failed (flag
!= 3)" in the system log, so I disabled it.

> what's the box doing?

Nothing particularly exciting, routing some traffic and doing DNS for the local
network. The actual activity of the box doesn't seem to have any influence on
the memory usage though.

Thanks,

Lars

netstat -m
9405 mbufs in use:
        9393 mbufs allocated to data
        3 mbufs allocated to packet headers
        9 mbufs allocated to socket names and addresses
128/202/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
52108 Kbytes allocated to network (99% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

vmstat -m
Memory statistics by bucket size
    Size   In Use   Free           Requests  HighWater  Couldfree
      16     2669   1683            3094841    1280       6403
      32      607    161             592073     640          0
      64     1217   1279             264720     320      16018
     128      312    200               8545     160         73
     256      257    143             244144      80      11467
     512      273     79              38071      40        582
    1024      323     41             220518      20      80293
    2048      144      4                287      10          0
    4096       27      4               1440       5          0
    8192        5      1               1329       5          0
   16384        9      0                 12       5          0
   32768        1      0                  2       5          0
   65536        2      0                  2       5          0
  524288        8      0                  8       5          0

Memory usage type by bucket size
    Size  Type(s)
      16  devbuf, pcb, routetbl, sysctl, UFS mount, sem, dirhash, in_multi,
          exec, miscfs mount, xform_data, VM swap, UVM amap, UVM aobj, USB,
          packet tags, temp
      32  devbuf, pcb, routetbl, ifaddr, sem, dirhash, proc, VFS cluster,
          NFS daemon, in_multi, ether_multi, exec, xform_data, VM swap,
          UVM amap, USB, temp
      64  devbuf, pcb, routetbl, ifaddr, vnodes, sem, dirhash, in_multi,
          pfkey data, UVM amap, UVM aobj, USB, NDP, temp
     128  devbuf, routetbl, ifaddr, sysctl, vnodes, dirhash, NFS srvsock, ttys,
          UVM amap, USB, USB device, ip6_options, NDP, temp
     256  devbuf, routetbl, ifaddr, sysctl, ioctlops, NFS mount, vnodes,
          UFS mount, shm, VM map, sem, dirhash, file desc, Export Host,
          NFS daemon, exec, newblk, UVM amap, temp
     512  devbuf, pcb, ifaddr, ioctlops, UFS mount, shm, dirhash, file desc,
          proc, ttys, exec, UVM amap, USB device, temp
    1024  devbuf, ioctlops, mount, UFS mount, dirhash, file desc, ttys, exec,
          UVM amap, UVM aobj, crypto data, temp
    2048  devbuf, ifaddr, ioctlops, namecache, UFS mount, shm, dirhash,
          file desc, proc, VM swap, UVM amap, temp
    4096  devbuf, ioctlops, UFS mount, file desc, pagedep, UVM amap, temp
    8192  devbuf, namecache, MSDOSFS mount, temp
   16384  devbuf, NFS node, namecache, UFS quota, UFS mount, ISOFS mount,
          inodedep, temp
   32768  devbuf, UVM amap
   65536  VM swap
  524288  devbuf

Memory statistics by type                           Type  Kern
          Type InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
        devbuf   702 16836K  16836K 37990K      899    0     0  
16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,524288
           pcb    48     5K      6K 37990K     3479    0     0  16,32,64,512
      routetbl   100     7K      8K 37990K   215796    0     0  16,32,64,128,256
        ifaddr   200    20K     20K 37990K      202    0     0  
32,64,128,256,512,2048
        sysctl     2     1K      1K 37990K        4    0     0  16,128,256
      ioctlops     0     0K      4K 37990K     3045    0     0  
256,512,1024,2048,4096
         mount     6     6K      6K 37990K        6    0     0  1024
     NFS mount     1     1K      1K 37990K        1    0     0  256
      NFS node     1    16K     16K 37990K        1    0     0  16384
        vnodes   409    30K    101K 37990K     4555    0     0  64,128,256
     namecache     3    26K     26K 37990K        3    0     0  2048,8192,16384
     UFS quota     1    16K     16K 37990K        1    0     0  16384
     UFS mount    17    59K     59K 37990K       17    0     0  
16,256,512,1024,2048,4096,16384
           shm     3     3K      3K 37990K        3    0     0  256,512,2048
        VM map     2     1K      1K 37990K        2    0     0  256
           sem     5     1K      1K 37990K        5    0     0  16,32,64,256
       dirhash   219    40K     40K 37990K     3306    0     0  
16,32,64,128,256,512,1024,2048
     file desc     6     7K      9K 37990K      129    0     0  
256,512,1024,2048,4096
          proc    18     5K      5K 37990K       18    0     0  32,512,2048
   VFS cluster     0     0K      1K 37990K      404    0     0  32
   Export Host     2     1K      1K 37990K        2    0     0  256
   NFS srvsock     1     1K      1K 37990K        1    0     0  128
    NFS daemon    66     3K      3K 37990K       66    0     0  32,256
      in_multi    54     2K      2K 37990K       54    0     0  16,32,64
   ether_multi    16     1K      1K 37990K       16    0     0  32
   ISOFS mount     1    16K     16K 37990K        1    0     0  16384
 MSDOSFS mount     1     8K      8K 37990K        1    0     0  8192
          ttys   414   259K    259K 37990K      414    0     0  128,512,1024
          exec     0     0K      3K 37990K     3050    0     0  
16,32,256,512,1024
  miscfs mount     1     1K      1K 37990K        1    0     0  16
    pfkey data     1     1K      1K 37990K        2    0     0  64
    xform_data     0     0K      1K 37990K     5274    0     0  16,32
       pagedep     1     4K      4K 37990K        1    0     0  4096
      inodedep     1    16K     16K 37990K        1    0     0  16384
        newblk     1     1K      1K 37990K        1    0     0  256
       VM swap     7    83K     83K 37990K        7    0     0  16,32,2048,65536
      UVM amap  3421   276K    435K 37990K   210301    0     0  
16,32,64,128,256,512,1024,2048,4096,32768
      UVM aobj     3     2K      2K 37990K        3    0     0  16,64,1024
           USB    23     2K      2K 37990K       23    0     0  16,32,64,128
    USB device     8     4K      4K 37990K        8    0     0  128,512
   crypto data     1     1K      1K 37990K        1    0     0  1024
   packet tags     0     0K      1K 37990K  2957091    0     0  16
   ip6_options     2     1K      3K 37990K      379    0     0  128
           NDP    13     2K      2K 37990K       17    0     0  64,128
          temp    77    12K     29K 37990K  1057405    0     0  
16,32,64,128,256,512,1024,2048,4096,8192,16384

Memory Totals:  In Use    Free    Requests
                17760K    285K     4465996
Memory resource pool statistics
Name        Size Requests Fail    InUse Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
extentpl      20      186    0       24     1     0     1     1     0     8    0
phpool        40    13170    0    13170   131     0   131   131     0     8    0
pmappl        84     3552    0       45     2     0     2     2     0     8    1
vmsppl       188     3552    0       45     3     0     3     3     0     8    0
vmmpepl       88   499076    0     5257   184     0   184   184     0   179   67
vmmpekpl      88    10865    0      115     3     0     3     3     0     8    0
aobjpl        52        2    0        2     1     0     1     1     0     8    0
amappl        44   201998    0     3352    54     0    54    54     0    45   13
anonpl        16   383144    0    10869    59     0    59    59     0    15   10
bufpl        144   717130    0     1462    59     0    59    59     0     8    3
mbpl         256 26086704    0   206126 12885     0 12885 12885     1   384    2
mcl2k       2048  5705089    0      128   101     0   101   101     4  3072   36
sockpl       212    15242    0      103     9     0     9     9     0     8    3
procpl       348     3570    0       63     7     0     7     7     0     8    1
processpl     24     3570    0       63     1     0     1     1     0     8    0
zombiepl      72     3507    0        0     1     0     1     1     0     8    1
ucredpl       80     5291    0       23     1     0     1     1     0     8    0
pgrppl        24      769    0       33     1     0     1     1     0     8    0
sessionpl     48      704    0       32     1     0     1     1     0     8    0
pcredpl       24     3570    0       63     1     0     1     1     0     8    0
lockfpl       56    34736    0        2     1     0     1     1     0     8    0
filepl        88   261488    0      200     6     0     6     6     0     8    1
fdescpl      300     3553    0       46     5     0     5     5     0     8    1
pipepl        72     3760    0       26     1     0     1     1     0     8    0
kqueuepl     192       79    0        3     1     0     1     1     0     8    0
knotepl       64      572    0       15     1     0     1     1     0     8    0
sigapl       316     3552    0       45     5     0     5     5     0     8    1
wqtasks       20    16887    0        0     1     0     1     1     0     8    1
wdcspl        96   702972    0        0     1     0     1     1     0     8    1
pfiaddrpl    100        8    0        8     1     0     1     1     0     8    0
nfsreqpl      64     4314    0        0     1     0     1     1     0     8    1
namei       1024  1265655    0        0     3     0     3     3     0     8    3
vnodes       148     2963    0     2963   110     0   110   110     0     8    0
nchpl         72     2963    0     2963    53     0    53    53     0     8    0
ffsino       184   710675    0     2954   135     0   135   135     0     8    0
dino1pl      128   710675    0     2954    96     0    96    96     0     8    0
dirhash     1024     5260    0      206    92     0    92    92     0   128   40
nfsnodepl    304       53    0        1     1     0     1     1     0     8    0
shmpl         64        1    0        1     1     0     1     1     0     8    0
semapl        68        3    0        3     1     0     1     1     0     8    0
semupl       100     1325    0        1     1     0     1     1     0     8    0
pfrulepl     848       63    0       52    16     0    16    16     0     8    2
pfsrctrpl    124        6    0        0     1     0     1     1     0   313    1
pfstatepl    204    26258    0       24   284     0   284   284     0   527  280
pfstatekeypl  72    32502    0       31   139   129    10   136     0     8    8
pfstateitempl 12    32500    0       31    23    14     9    23     0     8    8
pfpooladdrpl  68        1    0        1     1     0     1     1     0     8    0
pfrktable   1240        5    0        3     2     0     2     2     0   334    0
pfrkentry     92        5    0        5     1     0     1     1     0  4546    0
pfosfpen     108     1392    0      696    30    11    19    19     0     8    0
pfosfp        28      814    0      407     3     0     3     3     0     8    0
rtentpl      116       78    0       46     2     0     2     2     0     8    0
rttmrpl       32        1    0        0     1     0     1     1     0     8    1
tcpcbpl      400     3178    0       32     5     0     5     5     0     8    0
tcpqepl       16     1481    0        0     1     0     1     1     0    13    1
sackhlpl      20        8    0        0     1     0     1     1     0   163    1
synpl        184     1644    0        0     1     0     1     1     0     8    1
plimitpl     152      169    0       15     1     0     1     1     0     8    0
inpcbpl      220    11772    0       64     7     0     7     7     0     8    3

In use 55310K, total allocated 58768K; utilization 94.1%

Reply via email to