From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) by dpdk.org (Postfix) with ESMTP id CBC2E5681 for ; Mon, 18 Apr 2016 11:22:04 +0200 (CEST) Received: by mail-io0-f180.google.com with SMTP id o126so189179472iod.0 for ; Mon, 18 Apr 2016 02:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dJZhva2GfcKJknYSan4TWCvseNiBIADDnJkquckGVB4=; b=006rIl6rU8PKua7JH/eAaJj1Ql2STw6JIBBWA5oXROvKo0ydHgCadgYis+IR1oqmqL 6dgJZ2Yrgkvab5FZcA8aLk5/9ca0tmY/GJoNB6jw2zM4IS38amHqvOg7YANPXn/QS5FZ 6opY89su3ZrMdeMDHJj8+KEmse847lncNNY9Dm9AG95VWBwT4PBk1dIbVzgrQRnzgjQ9 JJ71u6diHXm40zHb+iXZ1GXWpDuTBVMNbzZnOknXCviGKdTJYOB6F+tkZYdmIFPNUnbT h09oCSyoJ9i3FcQ7xjSdU/Faw8UJMn8KipRwDA8rztzFKpnmF+XXCkoA3U/pBGYNnIFe 8LRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dJZhva2GfcKJknYSan4TWCvseNiBIADDnJkquckGVB4=; b=c7zH+kxmaR/y+d0T1/3JDFxSr7E2WxIRwvFyS9CDynI+0oVhprn/BcRMzOkSqJrgfr YkApKatUfCyOKyLWMZ7TB4gSpGkTT/SnXigy/udEIWR+1/kjYxGAWG/7ZcQmO/cvUqSC FI3c/Sd+XzpJZi5btJTOSNvwlbt8V4v6OlAGRsbOeB1qZkbr1ErK88UegFPPcAhrwTJ6 t44sHkwrm0tZjExT1Fo7Lz60OlDZh6Rx2W/VcZigy/ZgaC62HUwIv+G1AiY5PiA394J4 xyym1+KxRXS0lhp7MLl6iBW5+IXMqBBb4CQKjKUw/GUSrweLL/4ARyjCbdVJkPGxRNtm 73OA== X-Gm-Message-State: AOPr4FX/jcE+sFHgE4vXOL5n0NxX5xhrHK5FXBcl57+LVCJdsl7DVnRi1VSjDpbBKCa44KK17Po9dujPgb7zqQ== X-Received: by 10.107.170.17 with SMTP id t17mr41491841ioe.71.1460971324083; Mon, 18 Apr 2016 02:22:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.33.144 with HTTP; Mon, 18 Apr 2016 02:21:44 -0700 (PDT) In-Reply-To: References: From: Andriy Berestovskyy Date: Mon, 18 Apr 2016 11:21:44 +0200 Message-ID: To: =?UTF-8?Q?Javier_Coleto_Fern=C3=A1ndez?= Cc: users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] mbuf free cnt not decreasing X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 09:22:05 -0000 Hi Javier, Please make sure you check the return value of rte_kni_tx_burst() and rte_eth_tx_burst() and free the unsent mbufs. Might be something else... Overall the technique should be the same as with memory leaks: debug logs and patience ;) Regards, Andriy On Mon, Apr 18, 2016 at 10:41 AM, Javier Coleto Fern=C3=A1ndez wrote: > Hi Andriy, > > Thank you for your answer. > I've tried what you said and determined it's an mbuf leak, because the > number of free mbufs doesn't stabilize, even when I increase the number o= f > mbufs in the mempool. > Is there any way to easily debug this mbuf leak? I didn't make the full > code, so I don't really know where to start looking for leaks. > > Regards, > Javier --=20 Andriy Berestovskyy