Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 1998 08:18:05 -0600 (CST)
From:      Kevin Day <toasty@home.dragondata.com>
To:        current@freebsd.org
Subject:   No buffer space available
Message-ID:  <199801151418.IAA19842@home.dragondata.com>

next in thread | raw e-mail | index | archive | help

A while back someone (bruce?) had asked me to post sysctl and vmstat
listings while I was getting 'no buffer space available' messages. Well,
since the machine uses yp and nfs a lot, when it ran out of buffer space,
I'm essentially dead... This is after the machine recovered on it's own,
about 15 mins later.. (sometimes it comes back, sometimes it locks up, or
nicely suggests more swap before locking up, I've got 150MB now, with 128MB
ram)

The first sign of something going wrong is users getting their botchk cron
jobs mailing them with yp_client complaining about no buffer space, but
still working.


If anyone would like any more information, let me know.

Kevin



kern.ostype: FreeBSD
kern.osrelease: 3.0-CURRENT
kern.osrevision: 199506
kern.version: FreeBSD 3.0-CURRENT #0: Wed Jan  7 19:50:42 CST 1998
    root@shell.dragondata.com:/usr/src/sys/compile/SHELL

kern.maxvnodes: 13153
kern.maxproc: 8212
kern.maxfiles: 16424
kern.argmax: 65536
kern.securelevel: -1
kern.hostname: shell.dragondata.com
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, stathz = 128 }
kern.posix1version: 199009
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 0
kern.boottime: { sec = 884807567, usec = 142017 } Wed Jan 14 13:52:47 1998
kern.domainname: dragondata.com
kern.update: 30
kern.osreldate: 300001
kern.bootfile: /kernel
kern.maxfilesperproc: 16424
kern.maxprocperuid: 8211
kern.dumpdev: { major = 255, minor = -65281 }
kern.ipc.maxsockbuf: 262144
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 40
kern.ipc.max_hdr: 56
kern.ipc.max_datalen: 44
kern.dummy: 0
kern.ps_strings: -272637968
kern.usrstack: -272637952
kern.shutdown_timeout: 120
kern.acct_suspend: 2
kern.acct_resume: 4
kern.acct_chkfreq: 15
kern.fast_vfork: 0
kern.quantum: 10
kern.zone: 
ITEM            SIZE     LIMIT    USED    FREE  REQUESTS

PIPE:            160,        0,     21,    183,    23536
AIOLIO:          704,        0,      0,      0,        0
AIOL:             64,        0,      0,      0,        0
AIOCB:           128,        0,      0,      0,        0
AIOP:             32,        0,      0,      0,        0
AIO:              96,        0,      0,      0,        0
NAMEI:          1024,        0,      0,     32, 63406196
PV ENTRY:         28,  1683354,  12162,   8461,  4619617
MAP ENTRY:        36,        0,   1334,    602,   703393
KMAP ENTRY:       36,     5069,    130,    224,    12829
MAP:             108,        0,      9,      1,        9
VM OBJECT:       120,        0,   2388,   1030,   323422
kern.consmute: 0
vm.loadavg: { 0.21 0.40 0.74 }
vm.v_free_min: 228
vm.v_free_target: 815
vm.v_free_reserved: 131
vm.v_inactive_target: 4700
vm.v_cache_min: 2254
vm.v_cache_max: 9016
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.swap_idle_threshold1: 2
vm.swap_idle_threshold2: 10
vm.pageout_stats_max: 815
vm.pageout_full_stats_interval: 16
vm.pageout_stats_interval: 4
vm.pageout_stats_free_max: 25
vm.swap_idle_enabled: 0
vm.defer_swapspace_pageouts: 0
vm.disable_swapspace_pageouts: 0
vm.max_page_launder: 32
vfs.nfs.nfs_privport: 0
vfs.nfs.async: 0
vfs.nfs.gatherdelay: 10000
vfs.nfs.gatherdelay_v3: 0
vfs.nfs.defect: 0
vfs.nfs.diskless_valid: 0
vfs.nfs.diskless_rootpath: 
vfs.nfs.diskless_swappath: 
vfs.cache.numneg: 175
vfs.cache.numcache: 12463
vfs.cache.numcalls: 252839623
vfs.cache.dothits: 5278
vfs.cache.dotdothits: 19270
vfs.cache.numchecks: 297389113
vfs.cache.nummiss: 139536
vfs.cache.nummisszap: 1476
vfs.cache.numposzaps: 2139
vfs.cache.numposhits: 252651882
vfs.cache.numnegzaps: 74
vfs.cache.numneghits: 19968
vfs.cache.numcwdcalls: 5764
vfs.cache.numcwdfail1: 18
vfs.cache.numcwdfail2: 25
vfs.cache.numcwdfail3: 0
vfs.cache.numcwdfail4: 0
vfs.cache.numcwdfound: 5721
vfs.numdirtybuffers: 1
vfs.lodirtybuffers: 139
vfs.hidirtybuffers: 279
vfs.numfreebuffers: 2435
vfs.lofreebuffers: 120
vfs.hifreebuffers: 240
vfs.maxbufspace: 8544256
vfs.bufspace: 8544256
vfs.maxvmiobufspace: 5696170
vfs.vmiospace: 5967872
vfs.maxmallocbufspace: 427212
vfs.bufmallocspace: 327680
vfs.kvafreespace: 86016
vfs.ioopt: 0
vfs.usermount: 0
vfs.aio.max_aio_per_proc: 32
vfs.aio.max_aio_queue_per_proc: 256
vfs.aio.max_aio_procs: 32
vfs.aio.num_aio_procs: 0
vfs.aio.num_queue_count: 0
vfs.aio.max_aio_queue: 1024
vfs.aio.target_aio_procs: 0
vfs.aio.max_buf_aio: 16
vfs.aio.num_buf_aio: 0
vfs.aio.aiod_lifetime: 3000
vfs.aio.aiod_timeout: 1000
net.local.stream.sendspace: 8192
net.local.stream.recvspace: 8192
net.local.dgram.maxdgram: 2048
net.local.dgram.recvspace: 4096
net.local.inflight: 0
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.first: 1024
net.inet.ip.portrange.last: 5000
net.inet.ip.portrange.hifirst: 40000
net.inet.ip.portrange.hilast: 44999
net.inet.ip.forwarding: 0
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 3600
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 0
net.inet.ip.subnets_are_local: 0
net.inet.icmp.maskrepl: 0
net.inet.icmp.bmcastecho: 1
net.inet.tcp.rfc1323: 1
net.inet.tcp.rfc1644: 1
net.inet.tcp.mssdflt: 512
net.inet.tcp.rttdflt: 3
net.inet.tcp.keepidle: 14400
net.inet.tcp.keepintvl: 150
net.inet.tcp.sendspace: 16384
net.inet.tcp.recvspace: 16384
net.inet.tcp.keepinit: 150
net.inet.tcp.log_in_vain: 0
net.inet.tcp.always_keepalive: 0
net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 41600
net.inet.udp.log_in_vain: 0
net.inet.raw.maxdgram: 8192
net.inet.raw.recvspace: 8192
net.link.generic.system.ifcount: 5
net.link.ether.inet.prune_intvl: 300
net.link.ether.inet.max_age: 1200
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.maxtries: 5
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
debug.elf_trace: 0
debug.fdexpand: 116
debug.ttydebug: 0
debug.nchash: 16383
debug.ncnegfactor: 16
debug.numneg: 175
debug.numcache: 12463
debug.vfscache: 1
debug.vnsize: 144
debug.ncsize: 36
debug.numvnodes: 13250
debug.wantfreevnodes: 25
debug.freevnodes: 11382
debug.disablecwd: 0
debug.if_tun_debug: 0
hw.machine: i386
hw.model: Pentium
hw.ncpu: 2
hw.byteorder: 1234
hw.physmem: 82288640
hw.usermem: 59846656
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: ibm-pc
machdep.consdev: { major = 0, minor = 0 }
machdep.adjkerntz: 21600
machdep.disable_rtc_set: 0
machdep.wall_cmos_clock: 0
machdep.do_dump: 1
machdep.smp_active: 1
machdep.smp_cpus: 2
machdep.invltlb_ok: 1
machdep.do_page_zero_idle: 0
machdep.i8254_freq: 1193182
machdep.conspeed: 9600
user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin:
user.bc_base_max: 99
user.bc_dim_max: 2048
user.bc_scale_max: 99
user.bc_string_max: 1000
user.coll_weights_max: 0
user.expr_nest_max: 32
user.line_max: 2048
user.re_dup_max: 255
user.posix2_version: 199212
user.posix2_c_bind: 0
user.posix2_c_dev: 0
user.posix2_char_term: 0
user.posix2_fort_dev: 0
user.posix2_fort_run: 0
user.posix2_localedef: 0
user.posix2_sw_dev: 0
user.posix2_upe: 0
user.stream_max: 20
user.tzname_max: 255




Memory statistics by bucket size
Size   In Use   Free   Requests  HighWater  Couldfree
  16       69    699   64485383    1280          0
  32     1693    867      30307     640         10
  64    12905    791  189919562     320        201
 128      712    152   63117075     160          0
 256    26824    216  126269449      80     364331
 512      108     44      21249      40        434
  1K      319    121      10107      20        144
  2K       23     17         84      10         17
  4K        8      1         91       5          0
  8K        2      1         11       5          0
 16K        8      0          8       5          0
 32K        3      0          4       5          0
 64K        1      0          1       5          0

Memory usage type by bucket size
Size  Type(s)
  16  sysctl, NFSV3 srvdesc, soname, ether_multi, routetbl, pcb, vnodes,
	  proc, devbuf, temp
  32  Gzip trees, sysctl, NFS req, in_multi, ether_multi, pgrp, subproc,
	  routetbl, pcb, vnodes, devbuf, temp, kld
  64  Gzip trees, lockf, NFS req, file, session, routetbl, pcb, NFS daemon,
	  namecache, ifaddr, devbuf
 128  Gzip trees, zombie, file desc, routetbl, pcb, namecache, ZONE, cred,
	  ifaddr, ttys, temp
 256  Gzip trees, NFSV3 srvdesc, Export Host, socket, VM map, file desc,
	  subproc, FFS node, routetbl, pcb, NFS daemon, NFS srvsock, NFS node,
	  vnodes, namecache, devbuf, temp
 512  Gzip trees, NFS mount, ioctlops, file desc, UFS mount, BIO buffer,
	  mount, pcb, NFS daemon, proc, devbuf, temp
  1K  Gzip trees, BIO buffer, NQNFS Lease, devbuf, temp
  2K  Gzip trees, UFS mount, BIO buffer, proc, ttys, devbuf
  4K  devbuf, temp
  8K  Gzip trees, proc
 16K  MSDOSFS mount, devbuf, mbuf
 32K  Gzip trees, UFS quota, UFS ihash, NFS node
 64K  namecache

Memory statistics by type                          Type  Kern
        Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
   Gzip trees     0     0K     44K 19661K      412    0     0  32,64,128,256,512,1K,2K,8K,32K
       sysctl     0     0K      1K 19661K        8    0     0  16,32
NFSV3 srvdesc     0     0K      1K 19661K       46    0     0  16,256
  Export Host     1     1K      1K 19661K        5    0     0  256
        lockf     7     1K      2K 19661K    22317    0     0  64
      NFS req    15     1K      3K 19661K   488441    0     0  32,64
    NFS mount     3     2K      2K 19661K        4    0     0  512
       soname     4     1K      1K 19661K  1444124    0     0  16
     in_multi     2     1K      1K 19661K        2    0     0  32
  ether_multi     7     1K      1K 19661K        7    0     0  16,32
       socket   139    35K     46K 19661K126106686    0     0  256
     ioctlops     0     0K      1K 19661K        1    0     0  512
       zombie     1     1K      2K 19661K    20602    0     0  128
         file   335    21K     32K 19661K 63210409    0     0  64
      session    51     4K      5K 19661K     3446    0     0  64
         pgrp    54     2K      3K 19661K     4134    0     0  32
       VM map    71    18K     29K 19661K    20672    0     0  256
    file desc    73    10K     18K 19661K    21249    0     0  128,256,512
      subproc   110    12K     19K 19661K    41313    0     0  32,256
     FFS node 11776  2944K   3157K 19661K    95725    0     0  256
    UFS mount     3     5K      5K 19661K        3    0     0  512,2K
   BIO buffer   310   327K    419K 19661K     4393    0     0  512,1K,2K
        mount     5     3K      3K 19661K        6    0     0  512
     routetbl   142    20K     24K 19661K      648    0     0  16,32,64,128,256
          pcb   239    43K     49K 19661K126114411    0     0  16,32,64,128,256,512
    UFS quota     1    32K     32K 19661K        1    0     0  32K
    UFS ihash     1    32K     32K 19661K        1    0     0  32K
  NQNFS Lease     1     1K      1K 19661K        1    0     0  1K
   NFS daemon    28     4K      4K 19661K       28    0     0  64,256,512
  NFS srvsock     2     1K      1K 19661K        2    0     0  256
     NFS node  1344   368K    577K 19661K     4292    0     0  256,32K
MSDOSFS mount     1    16K     16K 19661K        1    0     0  16K
       vnodes 14632  3359K   3359K 19661K 63058667    0     0  16,32,256
    namecache 12473   844K    888K 19661K   114719    0     0  64,128,256,64K
         ZONE     7     1K      1K 19661K        7    0     0  128
         cred    75    10K     13K 19661K 63044977    0     0  128
         proc   101    54K     76K 19661K    20785    0     0  16,512,2K,8K
       ifaddr     8     1K      1K 19661K        8    0     0  64,128
         ttys   403    55K     74K 19661K     4264    0     0  128,2K
       devbuf    50   137K    137K 19661K       63    0     0  16,32,64,256,512,1K,2K,4K,16K
         mbuf     1    16K     16K 19661K        1    0     0  16K
         temp   198    42K     43K 19661K     6449    0     0  16,32,128,256,512,1K,4K
          kld     1     1K      1K 19661K        1    0     0  32

Memory Totals:  In Use    Free    Requests
                 8411K    350K    443853331



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