Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 09:38:39 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-net@freebsd.org
Cc:        Alex Liptsin <alexl@mellanox.com>, Oded Shanoon <odeds@mellanox.com>, Regev Lev <regevl@mellanox.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Subject:   Re: Failed to allocate receive buffer problem
Message-ID:  <201306250938.40137.jhb@freebsd.org>
In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF6E2C3@MTLDAG01.mtl.com>
References:  <64DAB3164E410447932305F50F896D8D6AF6E2C3@MTLDAG01.mtl.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wednesday, June 12, 2013 3:06:26 am Alex Liptsin wrote:
> Hi.
> 
> I have a problem that when running a ping (or any other traffic) over IPoIB 
port,
> Traffic fails after some time.
> At destination server DMESG I see that errors:
> 
> Jun 11 14:42:11 h-qa-033 kernel: ib1: failed to allocate receive buffer 253
> Jun 11 14:42:12 h-qa-033 kernel: ib1: failed to allocate receive buffer 254
> Jun 11 14:42:13 h-qa-033 kernel: ib1: failed to allocate receive buffer 255
> Jun 11 14:42:14 h-qa-033 kernel: ib1: failed to allocate receive buffer 0
> Jun 11 14:42:15 h-qa-033 kernel: ib1: failed to allocate receive buffer 1
> Jun 11 14:42:16 h-qa-033 kernel: ib1: failed to allocate receive buffer 2
> Jun 11 14:42:17 h-qa-033 kernel: ib1: failed to allocate receive buffer 3
> Jun 11 14:42:18 h-qa-033 kernel: ib1: failed to allocate receive buffer 4
> Jun 11 14:42:19 h-qa-033 kernel: ib1: failed to allocate receive buffer 5
> Jun 11 14:42:20 h-qa-033 kernel: ib1: failed to allocate receive buffer 6
> Jun 11 14:42:21 h-qa-033 kernel: ib1: failed to allocate receive buffer 7
> 
> I work with FreeBSD 9.1.
> 
> Is it a bug or some configuration issues?

Do you see memory allocation errors in netstat -m?

Specifically this line:

0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)

If so, it may be that the IPoIB layer has an mbuf leak.  The rest of netstat -
m might be useful here as you can see if any of the zones are full.

-- 
John Baldwin



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201306250938.40137.jhb>