Bug 122290 - [netgraph] [panic] Netgraph related "kmem_map too small" panics
Summary: [netgraph] [panic] Netgraph related "kmem_map too small" panics
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2008-03-31 14:00 UTC by Przemyslaw Frasunek
Modified: 2025-01-28 11:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Przemyslaw Frasunek 2008-03-31 14:00:09 UTC
	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
	mbufs:

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.

Fix: 

N/A
How-To-Repeat: 	N/A
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-03-31 19:04:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 przemyslaw 2011-05-10 21:30:31 UTC
It seems to be fixed, as I didn't experience any panics on recent 7.x and 8.x
releases.

This PR can be closed now.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:09 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:18:26 UTC
Keyword: 

    crash

– in lieu of summary line prefix: 

    [panic]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>