kernel leaking memory somewhere

elekktretterr at exemail.com.au elekktretterr at exemail.com.au
Mon Dec 14 23:19:59 PST 2009


Here it is:

zelda# vmstat -m
vmstat: truncated to the first 200 memory types

Memory statistics by type                          Type  Kern
              Type  InUse MemUse HighUse  Limit Requests  Limit Limit Size(s)
       NULLFS mount     9     3K      0K 104858K        9    0     0
      HAMMER-inodes128999 80625K      0K 104858K   526649    0     0
      HAMMER-others 10445  1053K      0K 104858K  2406832    0     0
            acpidev    86     3K      0K 104858K       86    0     0
            acpisem    16     1K      0K 104858K       16    0     0
           acpitask     0     0K      0K 104858K        1    0     0
             acpica   262     8K      0K 104858K    71812    0     0
           atkbddev     2     1K      0K 104858K        2    0     0
            session    30     2K      0K 104858K     4161    0     0
               proc    52    45K      0K 104858K   167856    0     0
                lwp    50    13K      0K 104858K   167856    0     0
          legacydrv     2     1K      0K 104858K        2    0     0
            subproc    98   148K      0K 104858K   168258    0     0
         uc_devlist    28     2K      0K 104858K       28    0     0
            CAM SIM     5     1K      0K 104858K        5    0     0
         CAM periph     8     1K      0K 104858K       76    0     0
           nexusdev     5     1K      0K 104858K        5    0     0
            scsi_cd     0     0K      0K 104858K        1    0     0
      CAM dev queue     4     1K      0K 104858K        4    0     0
           objcache    32     5K      0K 104858K       32    0     0
  objcache magazine   594   166K      0K 104858K      594    0     0
            syscons    41   166K      0K 104858K       41    0     0
             crypto     1     1K      0K 104858K        1    0     0
             kbdmux     7     7K      0K 104858K        7    0     0
             isadev    23     1K      0K 104858K       23    0     0
                USB   107     8K      0K 104858K      123    0     0
             USBdev    26     9K      0K 104858K       26    0     0
              USBHC     1     1K      0K 104858K        1    0     0
               ZONE    11     1K      0K 104858K       11    0     0
          VM pgdata     1   256K      0K 104858K        1    0     0
            vmspace   197    56K      0K 104858K      357    0     0
              lockf     5     1K      0K 104858K      774    0     0
       HAMMER-mount     1    40K      0K 104858K        1    0     0
              devfs  2350   224K      0K 104858K     3911    0     0
        UFS dirhash     6     1K      0K 104858K        9    0     0
          UFS mount     3     5K      0K 104858K        3    0     0
          UFS ihash     1   512K      0K 104858K        1    0     0
           FFS node     5     2K      0K 104858K     1641    0     0
            pagedep     1   128K      0K 104858K        1    0     0
           inodedep     1   512K      0K 104858K        1    0     0
             newblk     1     1K      0K 104858K        1    0     0
           p1003.1b     1     1K      0K 104858K        1    0     0
             atexit     1     1K      0K 104858K        1    0     0
          proc-args    44     2K      0K 104858K  1593267    0     0
          exec-args     8  2080K      0K 104858K        8    0     0
             kqueue    15    12K      0K 104858K     7493    0     0
               kenv    22     3K      0K 104858K       22    0     0
          file desc    60    30K      0K 104858K   169464    0     0
            NFS req     0     0K      0K 104858K       38    0     0
         NFS daemon    39     5K      0K 104858K      192    0     0
       NFSV3 diroff     0     0K      0K 104858K        2    0     0
      NFSV3 srvdesc     0     0K      0K 104858K      336    0     0
           NFS hash     1   512K      0K 104858K        1    0     0
        NFS srvsock     2     1K      0K 104858K       41    0     0
       ip6_moptions     1     1K      0K 104858K        4    0     0
               file   116     9K      0K 104858K  1678281    0     0
           syncache     4    24K      0K 104858K        4    0     0
              sigio     1     1K      0K 104858K        1    0     0
            tcptemp    25     2K      0K 104858K       25    0     0
               sblk     0     0K      0K 104858K     5608    0     0
          tseg_qent     0     0K      0K 104858K     1178    0     0
                kld    72    27K      0K 104858K      110    0     0
                ipq    50     2K      0K 104858K       50    0     0
           in_multi    13     1K      0K 104858K       25    0     0
             module   315    18K      0K 104858K      315    0     0
           routetbl   183    17K      0K 104858K      505    0     0
             varsym   248     7K      0K 104858K      504    0     0
              faith     1     1K      0K 104858K        1    0     0
              clone     2     8K      0K 104858K        2    0     0
             ifaddr    62    16K      0K 104858K       62    0     0
        ether_multi    37     2K      0K 104858K       58    0     0
                BPF     5     1K      0K 104858K       80    0     0
      MSDOSFS mount     1   512K      0K 104858K        1    0     0
             vnodes129055 40330K      0K 104858K   129055    0     0
        Export Host     1     1K      0K 104858K       13    0     0
           vnodeops    18     6K      0K 104858K       27    0     0
          nameibufs    12    12K      0K 104858K       12    0     0
              mount    14     8K      0K 104858K       20    0     0
           vfscache265493 13231K      0K 104858K  1144218    0     0
         BIO buffer     0     0K      0K 104858K        3    0     0
              unpcb    13     3K      0K 104858K    15263    0     0
           sendfile     0     0K      0K 104858K       24    0     0
             socket    46    11K      0K 104858K    24851    0     0
             soname     5     1K      0K 104858K    48479    0     0
                pcb    36    19K      0K 104858K     4607    0     0
                tag     0     0K      0K 104858K    34183    0     0
               mbuf  2235   559K      0K 104858K     2487    0     0
             mbufcl  1341  2682K      0K 104858K     1344    0     0
            mclmeta  1341    11K      0K 104858K     1344    0     0
         acd_driver     1     2K      0K 104858K        1    0     0
               accf     2     1K      0K 104858K       16    0     0
               ptys   263    91K      0K 104858K      263    0     0
               ttys   884   112K      0K 104858K     2534    0     0
                shm     7    15K      0K 104858K     2346    0     0
            ata_cam     2     2K      0K 104858K       16    0     0
               CCMS129055  8066K      0K 104858K   129055    0     0
                sem     3    44K      0K 104858K        3    0     0
          ciss_data    11     5K      0K 104858K       13    0     0
        ISOFS mount     1   512K      0K 104858K        1    0     0
            ata_dma     2     1K      0K 104858K        2    0     0
                msg     4    24K      0K 104858K        4    0     0
            MD disk     2     1K      0K 104858K        2    0     0
               rman   116     7K      0K 104858K      520    0     0
               pipe    45     7K      0K 104858K    75610    0     0
           ioctlops     0     0K      0K 104858K      936    0     0
          taskqueue    10     1K      0K 104858K       10    0     0
               sbuf     0     0K      0K 104858K        4    0     0
               SWAP     2  1097K      0K 104858K        2    0     0
        ata_generic     2     1K      0K 104858K        3    0     0
               kobj   218   246K      0K 104858K      218    0     0
       eventhandler    22     1K      0K 104858K       22    0     0
               disk     4     1K      0K 104858K        4    0     0
                bus  1136   103K      0K 104858K    11765    0     0
            CAM XPT   107    45K      0K 104858K      643    0     0
            scsi_da     0     0K      0K 104858K        2    0     0
            callout     4  1024K      0K 104858K        4    0     0
             sysctl     0     0K      0K 104858K    45237    0     0
          sysctloid   563    15K      0K 104858K      563    0     0
            tslpque     3    24K      0K 104858K        3    0     0
          CAM queue    15     1K      0K 104858K      805    0     0
       lwkt message     5     2K      0K 104858K      390    0     0
             thread   106    30K      0K 104858K      579    0     0
             MSFBUF     1    48K      0K 104858K        1    0     0
            memdesc     1     3K      0K 104858K        1    0     0

Memory Totals:  In Use    Free    Requests
               155660K      0K     8656407

Doesn't look high. But its gotta be leaking somewhere, possibly related to
HAMMER as memory usage tends to spike a lot during disk activity.







More information about the Kernel mailing list