Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 16:29:51 +0700
From:      Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: kern.ipc.nmbclusters limit reached
Message-ID:  <wu7ioa51r3k.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <CAOc73CCz0T6rtsiXBGseBWXs6ShFjQ6BifkqDbtORfQEEcHrHg@mail.gmail.com> (message from Ben Woods on Tue, 30 Jun 2015 17:22:28 %2B0800)

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7ioa51r3k.fsf>