From owner-freebsd-net@FreeBSD.ORG Thu Dec 4 19:00:26 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EF4669A for ; Thu, 4 Dec 2014 19:00:26 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1329630C for ; Thu, 4 Dec 2014 19:00:26 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1XwbdW-000IE4-Dd; Thu, 04 Dec 2014 23:00:22 +0400 Message-ID: <5480AF38.3070100@FreeBSD.org> Date: Thu, 04 Dec 2014 22:00:08 +0300 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Yuriy Tabolin , freebsd-net@freebsd.org Subject: Re: problem with 9k jumbo clusters References: <54803C75.2020300@speechpro.com> In-Reply-To: <54803C75.2020300@speechpro.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 19:00:26 -0000 On 04.12.2014 13:50, Yuriy Tabolin wrote: > Hi All. > I have a server with two Intel 10G NIC. OS FreeBSD 10.1-Release amd64. > Server works like NFS, samba-server and iSCSI target. Both NICs > aggregated into lagg device and set MTU 9014 to them. There are some > tuning sysctl.conf: > kern.maxfiles=6289601 > kern.maxfilesperproc=5660640 > kern.maxvnodes=3339565 > kern.ipc.nmbclusters=12255588 > kern.ipc.nmbjumbop=6127794 > kern.ipc.nmbufs=78435780 > kern.ipc.maxsockbuf=16777216 > kern.ipc.maxsockets=6289600 > net.inet.tcp.sendbuf_max=16777216 > net.inet.tcp.sendspace=65536 > net.inet.tcp.recvbuf_max=16777216 > net.inet.tcp.recvspace=65536 > > After some days of working, the errors are appearing: > ix1: Interface stopped DISTRIBUTING, possible flapping > ix0: Interface stopped DISTRIBUTING, possible flapping > ix0: Could not setup receive structures > ix1: Could not setup receive structures Hello. It looks like https://lists.freebsd.org/pipermail/freebsd-net/2014-May/038630.html is relevant here. > > After that errors the NICs stoped working. netstat -m shows: > 32881/33854/66735 mbufs in use (current/cache/total) > 16370/8198/24568/12255588 mbuf clusters in use (current/cache/total/max) > 16370/4807 mbuf+clusters out of packet secondary zone in use > (current/cache) > 0/873/873/6127794 4k (page size) jumbo clusters in use > (current/cache/total/max) > 16383/21517/37900/1815641 9k jumbo clusters in use > (current/cache/total/max) > 0/0/0/1021298 16k jumbo clusters in use (current/cache/total/max) > 188407K/222004K/410411K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) > 0/101414306/0 requests for jumbo clusters denied (4k/9k/16k) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > > 9k jumbo clusters max is too big, but looks like system cannot > allocate them. There are huge number of "9k requests for jumbo > clusters denied". ifconfig ix down/up don't helped, reboot is needed. > Thanks for any help! > > > -- > Best regards, > Tabolin Yuriy > System administrator > Speech Technology Center > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >