Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 17:17:57 -0600
From:      Tim Daneliuk <tundra@tundraware.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Possible Problem w/4.10-stable And SMBFS?
Message-ID:  <41F18DA5.2090808@tundraware.com>
In-Reply-To: <41ED98E9.10401@tundraware.com>
References:  <41ED98E9.10401@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ronald Klop wrote:

<SNIP>
|
| Do you have any statistics about memory consumption/swapping?
| top/vmstat/netstat -m
| What is the cpu usage?
| What is the number of open files in your system?

I'll focus on machine 'xyz' for now since its the one I care
most about:

Dell PowerEdge 1750 w/Dual 3Ghz Xeons and 3G of memory.

This thing idles most of the time as a mailserver for less than 150
users (both UW-Imap and SquirrelMail/Apache). CPU is typically less than
5% busy and top shows most of the memory inactive or free the majority
of the time. 'Sorry I do not have stats as of the time of the failure...


Don't have number of open files should be negligible (just *how* do you
get an exact count - I don't recall).

Output of netstat -m follows.  Thanks!

- -------------------------------------------

Memory statistics by bucket size
Size   In Use   Free   Requests  HighWater  Couldfree
~  16     1532    260       4736    1280          0
~  32      375    137     162252     640          0
~  64     3299  23197     184848     320       2614
~ 128     1798     26       8648     160          0
~ 256     2139      5    1109884      80          0
~ 512       55      9        608      40          0
~  1K       41     63       5574      20         91
~  2K       21    127        323      10        113
~  4K       16      1        235       5          0
~  8K       14      0         58       5          0
~ 16K        6      0         95       5          0
~ 32K       13      0         60       5          0
128K        3      0         15       5          0
256K        1      0          1       5          0
512K        7      0          7       5          0

Memory usage type by bucket size
Size  Type(s)
~  16  SMBSTR, SMBIOD, uc_devlist, nexusdev, SMBFS data, SMBFS nname,
       atexit, ICONV, USB, proc-args, UFS dirhash, p1003.1b, kld, routetbl,
       ether_multi, vnodes, mount, pcb, soname, shm, MD disk, ATA generic,
       rman, bus, sysctloid, sysctl, temp, devbuf
~  32  SMBTEMP, NETSMBDEV, atkbddev, SMBFS nname, USB, proc-args,
       UFS dirhash, dirrem, mkdir, diradd, freefile, freefrag, indirdep,
       bmsafemap, newblk, sigio, kld, in_multi, routetbl, ether_multi,
       ifaddr, BPF, vnodes, cluster_save buffer, pcb, soname, ATAPI generic,
       taskqueue, SWAP, eventhandler, bus, sysctloid, sysctl, uidinfo,
       subproc, pgrp, temp, devbuf
~  64  SMBTEMP, SMBSTR, SMBFS data, SMBFS nname, ICONV, isadev, USB,
       proc-args, UFS dirhash, allocindir, allocdirect, pagedep, file,
       routetbl, ether_multi, ifaddr, vnodes, cluster_save buffer, vfscache,
       pcb, soname, rman, eventhandler, bus, sysctloid, subproc, session,
       temp, devbuf, lockf
~ 128  SMBTEMP, SMBRQ, SMBIOD, SMB conn, SMBFS node, zombie, USBdev, USB,
       ZONE, proc-args, UFS dirhash, freeblks, inodedep, dev_t, timecounter,
       kld, routetbl, vnodes, mount, vfscache, soname, ttys, ATAPI generic,
       bus, cred, temp, devbuf
~ 256  SMBTEMP, SMBRQ, SMB conn, SMBFS data, ICONV data, USB, proc-args,
       FFS node, newblk, kqueue, file desc, NFS daemon, routetbl, ifaddr,
       vnodes, ttys, ACD driver, bus, subproc, temp, devbuf
~ 512  USBdev, UFS dirhash, UFS mount, file desc, mount, BIO buffer,  ptys,
       ATA generic, msg, ioctlops, bus, temp, devbuf
~  1K  kqueue, file desc, NQNFS Lease, shm, MD disk, sem, ioctlops, bus,
       uidinfo, temp, devbuf
~  2K  uc_devlist, UFS mount, file desc, ifaddr, BIO buffer, pcb,
       ACD driver, bus, devbuf
~  4K  memdesc, SMBFS data, UFS mount, sem, msg, kobj, bus, proc, temp,
       devbuf
~  8K  UFS mount, syncache, bus, devbuf
~ 16K  mbuf, indirdep, shm, msg, bus, temp, devbuf
~ 32K  UFS mount, bus, devbuf
128K  VM pgdata, pagedep, bus, temp
256K  MSDOSFS mount
512K  SMBFS hash, UFS ihash, inodedep, NFS hash, vfscache, ISOFS mount,
       SWAP

Memory statistics by type                          Type  Kern
~        Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
~      SMBTEMP     1     1K      1K102400K       19    0     0   32,64,128,256
~       SMBSTR     6     1K      1K102400K        8    0     0  16,64
~        SMBRQ     0     0K      1K102400K  1105216    0     0  128,256
~       SMBIOD     1     1K      1K102400K        2    0     0  16,128
~    NETSMBDEV     0     0K      1K102400K        1    0     0  32
~     SMB conn     2     1K      1K102400K        2    0     0  128,256
~     atkbddev     2     1K      1K102400K        2    0     0  32
~   uc_devlist    30     3K      3K102400K       30    0     0  16,2K
~     nexusdev    11     1K      1K102400K       11    0     0  16
~      memdesc     1     4K      4K102400K        1    0     0  4K
~         mbuf     1    12K     12K102400K        1    0     0  16K
~   SMBFS hash     1   512K    512K102400K        1    0     0  512K
~   SMBFS data     1     4K      6K102400K     1515    0     0   16,64,256,4K
~  SMBFS nname    29     2K      2K102400K       30    0     0  16,32,64
~   SMBFS node    29     4K      4K102400K       30    0     0  128
~       atexit     1     1K      1K102400K        1    0     0  16
~       zombie     0     0K      1K102400K      731    0     0  128
~   ICONV data     2     1K      1K102400K        2    0     0  256
~        ICONV     4     1K      1K102400K        4    0     0  16,64
~       isadev    25     2K      2K102400K       25    0     0  64
~       USBdev     1     1K      2K102400K        4    0     0  128,512
~          USB    12     2K      2K102400K       12    0     0   16,32,64,128,256
~         ZONE    16     2K      2K102400K       16    0     0  128
~    VM pgdata     1   128K    128K102400K        1    0     0  128K
~    proc-args    34     2K      3K102400K     1066    0     0   16,32,64,128,256
~  UFS dirhash    66    13K     13K102400K       66    0     0   16,32,64,128,512
~    UFS mount     9    48K     48K102400K        9    0     0   512,2K,4K,8K,32K
~    UFS ihash     1   512K    512K102400K        1    0     0  512K
~     FFS node  1825   457K    458K102400K     2242    0     0  256
~       dirrem     0     0K      1K102400K      452    0     0  32
~        mkdir     0     0K      1K102400K       20    0     0  32
~       diradd     0     0K      1K102400K      471    0     0  32
~     freefile     0     0K      1K102400K      249    0     0  32
~     freeblks     0     0K      2K102400K       62    0     0  128
~     freefrag     2     1K      3K102400K       99    0     0  32
~   allocindir     3     1K   1470K102400K   158554    0     0  64
~     indirdep     1     1K     81K102400K       90    0     0  32,16K
~  allocdirect     0     0K      2K102400K      242    0     0  64
~    bmsafemap     0     0K      1K102400K      135    0     0  32
~       newblk     1     1K      1K102400K   158797    0     0  32,256
~     inodedep     1   512K    518K102400K      323    0     0  128,512K
~      pagedep     3   129K    129K102400K       97    0     0  64,128K
~     p1003.1b     1     1K      1K102400K        1    0     0  16
~       kqueue     4     4K      7K102400K      281    0     0  256,1K
~        sigio     1     1K      1K102400K        1    0     0  32
~         file   136     9K     11K102400K    16145    0     0  64
~    file desc    77    30K     30K102400K      857    0     0   256,512,1K,2K
~        dev_t   912   114K    114K102400K      912    0     0  128
~  timecounter     5     1K      1K102400K        5    0     0  128
~          kld     4     1K      1K102400K       35    0     0  16,32,128
~     NFS hash     1   512K    512K102400K        1    0     0  512K
~  NQNFS Lease     1     1K      1K102400K        1    0     0  1K
~   NFS daemon     1     1K      1K102400K        1    0     0  256
~     syncache     1     8K      8K102400K        1    0     0  8K
~     in_multi     2     1K      1K102400K        2    0     0  32
~     routetbl    40     6K      6K102400K       52    0     0   16,32,64,128,256
~  ether_multi     7     1K      1K102400K        7    0     0  16,32,64
~       ifaddr    24     4K      4K102400K       24    0     0   32,64,256,2K
~          BPF     3     1K      1K102400K        3    0     0  32
MSDOSFS mount     1   256K    256K102400K        1    0     0  256K
~       vnodes    26     7K      7K102400K      380    0     0   16,32,64,128,256
~        mount     5     3K      3K102400K        7    0     0   16,128,512
cluster_save buffer     0     0K      1K102400K      161    0     0   32,64
~     vfscache  2668  1202K   1202K102400K     4683    0     0   64,128,512K
~   BIO buffer     4     8K    264K102400K      246    0     0  512,2K
~          pcb    20     5K      5K102400K      287    0     0   16,32,64,2K
~       soname     7     1K      1K102400K     1624    0     0   16,32,64,128
~         ptys     3     2K      2K102400K        3    0     0  512
~         ttys   491    63K     63K102400K     1466    0     0  128,256
~  ISOFS mount     1   512K    512K102400K        1    0     0  512K
~          shm    12    23K     23K102400K       12    0     0  16,1K,16K
~      MD disk     2     2K      2K102400K        2    0     0  16,1K
~  ATA generic     2     1K      1K102400K        2    0     0  16,512
~          sem     3     6K      6K102400K        3    0     0  1K,4K
~   ACD driver     2     3K      3K102400K        2    0     0  256,2K
ATAPI generic     1     1K      1K102400K        2    0     0  32,128
~          msg     4    25K     25K102400K        4    0     0   512,4K,16K
~         rman    62     4K      4K102400K      457    0     0  16,64
~     ioctlops     0     0K      1K102400K        6    0     0  512,1K
~    taskqueue     2     1K      1K102400K        2    0     0  32
~         SWAP     2  1641K   1641K102400K        2    0     0  32,512K
~         kobj     1     4K      4K102400K        1    0     0  4K
~ eventhandler    13     1K      1K102400K       13    0     0  32,64
~          bus   938   114K    190K102400K     2652    0     0   16,32,64,128,256,512,1K,2K,4K,8K,16K,32K,128K
~    sysctloid     8     1K      1K102400K        8    0     0  16,32,64
~       sysctl     0     0K      1K102400K      143    0     0  16,32
~      uidinfo     6     2K      2K102400K       89    0     0  32,1K
~         cred    21     3K      4K102400K     3187    0     0  128
~      subproc   140    11K     11K102400K     1664    0     0  32,64,256
~         proc     2     8K      8K102400K        2    0     0  4K
~      session    25     2K      2K102400K       93    0     0  64
~         pgrp    28     1K      1K102400K      289    0     0  32
~         temp   425   136K    166K102400K     7130    0     0   16,32,64,128,256,512,1K,4K,16K,128K
~       devbuf  1035   563K    595K102400K     1532    0     0   16,32,64,128,256,512,1K,2K,4K,8K,16K,32K
~        lockf    19     2K      2K102400K     2221    0     0  64

Memory Totals:  In Use       Free    Requests
~                 7630K      1789K     1477346

----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F18DA5.2090808>