kern/122290: Netgraph related "kmem_map too small" panics

Przemyslaw Frasunek venglin at
Mon Mar 31 06:00:09 PDT 2008

>Number:         122290
>Category:       kern
>Synopsis:       Netgraph related "kmem_map too small" panics
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 13:00:09 UTC 2008
>Originator:     Przemyslaw Frasunek
>Release:        FreeBSD 6.3-RELEASE i386
System: FreeBSD 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Mon Jan 21 00:13:00 CET 2008     root at  i386

	Every 2 weeks I'm getting the following panic:

	kmem_malloc(4096): kmem_map too small: 168394752 total allocated

	vmstat -z on vmcore shows that most of kernel memory is used by

ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES 
mbuf:                     256,        0,   458820,        6, 2811418298,        7

	but `vmstat -m' and `netstat -m' doesn't work:

# vmstat -M vmcore.4 -m
vmstat: memstat_kvm_malloc: invalid address (0xc0a01ffd)
         Type InUse MemUse HighUse Requests  Size(s)

# netstat -M vmcore.4 -m
netstat: memstat_kvm_all: invalid address (0xc0a01ffd)

	The machine works as PPPoE router with mpd 5.0, so multiple netgraph
	nodes are created. 



More information about the freebsd-bugs mailing list