Re: Networking issues with -current?

2014-01-08 Thread Paul Goyette

(re-adding current-users to the discussion - maybe someone has a clue?)

I reported:


Well, I just experienced another hang, about an hour ago.



I've been collecting mbuf data every 30 seconds.  Around 11:04 AM PST
today, the mbufs-in-use started climbing. From an earlier stable
level of about 530 mbufs, it more than doubled to 1112.  It stayed at
that level for several minutes, and then dropped slightly.  But the
machine never actually recovered, and an outbound ping still 
complained with ENOBUF.


Funny thing is, even though it would appear that the machine had
reached a limit on mbufs, the vmstat data still reports 0 failures.


Greg responded:


hmm.
I would also check:

 are there any failures at all in pool stats?

 i wonder if there is some other error path, because 1000 mbufs is not
 really a lot.

 where else are mbufs cached, because the pool is showing no releases,
 so something more complicated is going on.


The total line from vmstat also shows 0 failures.

I'm also somewhat confused, since vmstat is reporting ~1100 mbufs, yet 
netstat only mentions ~530.  Where are the other 550 mbus?


Some semi-random questions/musings:

* If I were to force a crash dump, is there any way to grovel through
  the mbufs to figure out who/what owns them?

* Even though vmstat reports no failures, there's obviously some limit
  being reached.  Perhaps there is a request at some elevated IPL (or
  similarly restrictive condition) and the caller has indicated that
  WAITint is not permitted?  If this is a possibility, is there any way
  for me to force pre-allocation of a large quantity of mbufs?





-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


daily CVS update output

2014-01-08 Thread NetBSD source update

Updating src tree:
P src/distrib/sets/lists/base/ad.arm
P src/distrib/sets/lists/base/ad.mips
P src/distrib/sets/lists/base/md.amd64
P src/distrib/sets/lists/base/md.sparc64
P src/distrib/sets/lists/base/shl.mi
P src/distrib/sets/lists/debug/ad.arm
P src/distrib/sets/lists/debug/ad.mips
P src/distrib/sets/lists/debug/md.amd64
P src/distrib/sets/lists/debug/md.sparc64
P src/distrib/sets/lists/debug/shl.mi
P src/distrib/sets/lists/tests/mi
P src/doc/TODO.clang
cvs update: cannot open directory 
/cvsroot/src/external/bsd/bind/dist/libtool.m4: No such file or directory
cvs update: skipping directory src/external/bsd/bind/dist/libtool.m4
P src/external/bsd/libc++/dist/libcxx/include/__config
P src/external/bsd/libc++/dist/libcxx/include/__functional_base
P src/external/bsd/libc++/dist/libcxx/include/__functional_base_03
P src/external/bsd/libc++/dist/libcxx/include/cmath
P src/external/bsd/libc++/dist/libcxx/include/iterator
P src/external/bsd/libc++/dist/libcxx/include/tuple
P src/external/bsd/libc++/dist/libcxx/include/type_traits
P src/external/bsd/libc++/dist/libcxx/include/utility
P src/external/bsd/libc++/dist/libcxx/src/stdexcept.cpp
P src/external/bsd/libc++/dist/libcxx/test/numerics/c.math/cmath.pass.cpp
P src/lib/libc/shlib_version
P src/lib/libc/resolv/res_init.c
P src/lib/libnpf/npf.3
P src/lib/librumpuser/rumpuser_port.h
P src/sys/arch/amd64/amd64/machdep.c
P src/sys/arch/i386/i386/machdep.c
P src/sys/dev/i2c/tps65217pmic.c
P src/sys/fs/tmpfs/tmpfs_subr.c
P src/sys/rump/net/lib/libshmif/rumpcomp_user.c
P src/tests/lib/libc/net/Makefile
P src/tests/lib/libc/net/h_dns_server.c
P src/tests/lib/libc/net/h_hostent.c
U src/tests/lib/libc/net/resolv.conf
P src/tests/lib/libc/net/t_hostent.sh

Updating xsrc tree:
P xsrc/external/mit/xf86-input-elographics/dist/src/xf86Elo.c


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Thu Jan  9 03:05:58 2014
SUP Scan for current completed at Thu Jan  9 03:06:20 2014
SUP Scan for mirror starting at Thu Jan  9 03:06:20 2014
SUP Scan for mirror completed at Thu Jan  9 03:10:12 2014




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  34749747 Jan  9 03:19 ls-lRA.gz