From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E72FCA0524; Thu, 4 Feb 2021 13:29:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C21A24064C; Thu, 4 Feb 2021 13:29:13 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 9138E240634 for ; Thu, 4 Feb 2021 13:29:11 +0100 (CET) IronPort-SDR: MxYVPk42qO+MIHa/ia4ozvBk/5KvwQra7sXERw95CYzFIE9Y86I0Ka4h5XgV0BsEvgnOALm1jQ jIpj1GtueHkg== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="160393048" X-IronPort-AV: E=Sophos;i="5.79,400,1602572400"; d="scan'208";a="160393048" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2021 04:29:10 -0800 IronPort-SDR: uRpdIJoU6dUU8ljFCPPzmCAxdlChT9uaWPrqSiToN8VIg4t5ydclv9oKtMbApom4gGW/EnH1LE Hu70/GaZFbOg== X-IronPort-AV: E=Sophos;i="5.79,400,1602572400"; d="scan'208";a="393143108" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.15.170]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 04 Feb 2021 04:29:08 -0800 Date: Thu, 4 Feb 2021 12:29:05 +0000 From: Bruce Richardson To: oulijun Cc: Thomas Monjalon , Ferruh Yigit , dev , linuxarm@openeuler.org Message-ID: <20210204122905.GD1712@bricha3-MOBL.ger.corp.intel.com> References: <8270022.kECihOmdav@thomas> <0aacfa1e-2191-c196-ac73-fad99c016aec@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0aacfa1e-2191-c196-ac73-fad99c016aec@huawei.com> Subject: Re: [dpdk-dev] =?utf-8?q?=E3=80=90Some_Questions_About_Multi-Process?= =?utf-8?q?_Resource_Cleaning=E3=80=91?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Feb 04, 2021 at 07:47:01PM +0800, oulijun wrote: > > > 在 2021/2/4 17:25, Thomas Monjalon 写道: > > Hi, > > > > Sorry your questions are quite confused. > > Please start explaining what is the problem you are trying to solve. > Start the master and slave processes at the same time, and then run the kill > -9 command to kill the slave processes. > The slave process should call rte_eal_cleanup to release resources. But I > find that there is no release from the process, > and I think there is a resource leak. "kill -9" is an immediate forcible kill of a process and no cleanup will ever be done in that case. It's equivalent to the process crashing, so would be considered an abnormal termination. Regads, /Bruce