From owner-freebsd-current@FreeBSD.ORG Fri Nov 4 19:07:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A0016A456; Fri, 4 Nov 2005 19:07:16 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0A9143D48; Fri, 4 Nov 2005 19:07:15 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp1-g19.free.fr (Postfix) with ESMTP id 936AA5E2E8; Fri, 4 Nov 2005 20:07:14 +0100 (CET) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id jA4J7BwJ012306; Fri, 4 Nov 2005 20:07:12 +0100 (CET) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Fri, 4 Nov 2005 20:06:59 +0100 User-Agent: KMail/1.8.2 References: <20051104092724.GA33945@xor.obsecurity.org> <200511041833.30955.thierry@herbelot.com> <436BA8B5.9070104@freebsd.org> In-Reply-To: <436BA8B5.9070104@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200511042007.02526.thierry@herbelot.com> Cc: Andre Oppermann Subject: Re: panic: mb_dtor_pack: ref_cnt != 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 19:07:16 -0000 Le Friday 4 November 2005 19:30, Andre Oppermann a écrit : > > Please try the attached patch to see whether it makes a difference. [SNIP] with the same test (ls -lR /share_disk) : the mbufs are better managed : ... 70/63680/63750 mbufs in use (current/cache/total) 64/404/468/3776 mbuf clusters in use (current/cache/total/max) 65/65095/65160 mbufs in use (current/cache/total) 64/404/468/3776 mbuf clusters in use (current/cache/total/max) but : panic: kmem_malloc(200704): kmem_map too small: 29900800 total allocated cpuid = 1 KDB: enter: panic [thread pid 730 tid 100096 ] Stopped at kdb_enter+0x2b: nop db> trace Tracing pid 730 tid 100096 td 0xc1595600 kdb_enter(c086a633) at kdb_enter+0x2b panic(c088597c,31000,1c84000,c19afd80,31000) at panic+0x127 kmem_malloc(c10600c0,31000,102,cb63cabc,c079047b) at kmem_malloc+0x89 page_alloc(0,31000,cb63caaf,102,29332e0) at page_alloc+0x1a uma_large_malloc(31000,102,c0636662,be,30fd1) at uma_large_malloc+0x3b malloc(30fd1,c08cf1a0,102,c0652867,c0934a20) at malloc+0xf5 sysctl_kern_malloc_stats(c08cf520,0,0,cb63cb98,c08cf520) at sysctl_kern_malloc_stats+0x76 sysctl_root(0,cb63cc18,2,cb63cb98,c1595600) at sysctl_root+0x11b userland_sysctl(c1595600,cb63cc18,2,8077000,bfbfea18) at userland_sysctl+0xf4 __sysctl(c1595600,cb63cd04,c,c1595600,cb63cd30) at __sysctl+0x77 syscall(2809003b,2809003b,bfbf003b,2,bfbfea18) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x281494ef, esp = 0xbfbfe8cc, ebp = 0xbfbfe908 --- db> TfH