From owner-freebsd-questions@freebsd.org Tue Jun 30 09:31:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15B6598C648 for ; Tue, 30 Jun 2015 09:31:44 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E98991970 for ; Tue, 30 Jun 2015 09:31:43 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: by mailman.ysv.freebsd.org (Postfix) id E681F98C647; Tue, 30 Jun 2015 09:31:43 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5F1E98C646 for ; Tue, 30 Jun 2015 09:31:43 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 998A3196F for ; Tue, 30 Jun 2015 09:31:43 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 48FE940E786; Tue, 30 Jun 2015 16:29:10 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1435656549; x=1437470950; bh=w0OIeBMbd bhgiNOWDQKzpqlIZoWJSe2im4RtLYFT1bk=; b=ACrTrTHiOnnX9oATsmHx5cMWv YlW0rn8G6JL2NHYg1akogtliyZYaeFM0u0bqKrlqRs0BRd6lYXKQ6qu0tphYGFYv gqbvfhQMEelDn2HVwnkuWdlKes5Ofnkqbwcx9T6OUJhErv4+NF1cZv+nv0n5K29B 8fxgA5TkNGEweroQJs= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QsIXBlC6GCSh; Tue, 30 Jun 2015 16:29:09 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 173A540E783; Tue, 30 Jun 2015 16:29:09 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.7/8.14.7/Submit) id t5U9Tp6V037564; Tue, 30 Jun 2015 16:29:51 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: Ben Woods Cc: questions@freebsd.org Subject: Re: kern.ipc.nmbclusters limit reached In-Reply-To: (message from Ben Woods on Tue, 30 Jun 2015 17:22:28 +0800) Date: Tue, 30 Jun 2015 16:29:51 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 09:31:44 -0000 Thank you Ben, >> Since I updated my amanda server to 10.1, I cannot complete a back-up, >> the system will freeze in the middle of the dumps with bunches of error: >> >> Jun 30 09:37:16 amanda kernel: [zone: mbuf_cluster] kern.ipc.nmbclusters >> limit reached >> >> >> The kernel is: >> >> FreeBSD amanda.cs.ait.ac.th 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0 >> r282829: Wed May 13 14:31:30 ICT 2015 root@amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> and >> >> sysctl kern.ipc.nmbclusters >> kern.ipc.nmbclusters: 253064 >> >> This ipc.nmbcluster seems terribly high (like 0.5 GB memory), but that's >> the value set by the kernel by default! >> >> Something must be wrong there, but I don't know ehre to look. >> >> Thanks in advance for the help, >> >> olivier >> -- >> > > I guess you are using Intel igb(4) or em(4) network interface cards? No, that MB uses nfe(4). > This is a known issue, and the work around proposed by the pfsense project > is to manually increased the nmbcluster limit: > > Add the following to /boot/loader.conf: > > kern.ipc.nmbclusters="1000000" But I will try that anyway. My concern is that 2048 Bytes per nmbcluster, makes it 2,048,000,000 two giga bytes of memory? Best regards, Olivier > > > > https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards > > Regards, > Ben --