From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0DBC7A00E6 for ; Mon, 8 Jul 2019 17:00:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBB604C8D; Mon, 8 Jul 2019 17:00:52 +0200 (CEST) Received: from mx0a-00196b01.pphosted.com (mx0a-00196b01.pphosted.com [67.231.149.170]) by dpdk.org (Postfix) with ESMTP id 194BD3256 for ; Mon, 8 Jul 2019 17:00:50 +0200 (CEST) Received: from pps.filterd (m0072398.ppops.net [127.0.0.1]) by mx0a-00196b01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x68EuYGu018811 for ; Mon, 8 Jul 2019 11:00:49 -0400 Received: from nam05-dm3-obe.outbound.protection.outlook.com (mail-dm3nam05lp2058.outbound.protection.outlook.com [104.47.49.58]) by mx0a-00196b01.pphosted.com with ESMTP id 2tjqsrthcu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 08 Jul 2019 11:00:49 -0400 Received: from DM5PR0101MB2954.prod.exchangelabs.com (10.174.181.144) by DM5PR0101MB2921.prod.exchangelabs.com (10.174.182.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Mon, 8 Jul 2019 15:00:43 +0000 Received: from DM5PR0101MB2954.prod.exchangelabs.com ([fe80::4124:d4a3:2a5e:65f3]) by DM5PR0101MB2954.prod.exchangelabs.com ([fe80::4124:d4a3:2a5e:65f3%3]) with mapi id 15.20.2052.019; Mon, 8 Jul 2019 15:00:43 +0000 From: "Shubhachint, Chaitanya" To: "dev@dpdk.org" Thread-Topic: /run/dpdk cleanup Thread-Index: AdU1m141q7FmkbXhTPe/v4wk4W29ug== Date: Mon, 8 Jul 2019 15:00:43 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [4.30.79.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4089719e-eade-4c6f-d504-08d703b50c9a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM5PR0101MB2921; x-ms-traffictypediagnostic: DM5PR0101MB2921: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 00922518D8 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(136003)(39860400002)(346002)(396003)(199004)(189003)(26005)(9686003)(186003)(99286004)(6506007)(102836004)(66066001)(4744005)(7736002)(6306002)(54896002)(81156014)(81166006)(74316002)(5660300002)(86362001)(478600001)(14444005)(1730700003)(76116006)(316002)(53936002)(68736007)(55016002)(33656002)(72206003)(7696005)(8676002)(25786009)(5640700003)(52536014)(3846002)(6116002)(790700001)(8936002)(256004)(2501003)(2906002)(2351001)(14454004)(476003)(9326002)(6436002)(64756008)(66476007)(71190400001)(71200400001)(486006)(66556008)(73956011)(66946007)(66446008)(6916009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR0101MB2921; H:DM5PR0101MB2954.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: netscout.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: HEBygWGkiqLGl7iieOR4IPQcy5SRz4LRtqLfVcCJWit0XwXuGW/TtSepoWVItc2+WMbieTywyFp9sS793ZzM2Mpw/sKVgINwm2u8/RhRkCUH3NOHpzietJm18/RPShgj1HH1xoEfW8EoQ1nYUIfck7SlBsOp29Epkh+wCDXBuf7DjKLfEW4icr4u0nA96E1iNTQoK6D/zgniFN3dQDfQyzDL7GTlXdSr9IFeDNYUCjPlRrfvdAPlLpZMe0eCcszoHUFuODUulfT5vRgTuyRZOpHsZREfWa1A6gdo62InUe6TI2EsDch6CqTKOpllFRxGUCA1SV1Kza/Be05DWxLnDUMI46NaYcrWpa34M+F+FoqWUjBXoaOK28WwQGyySp1S0mWeyJGqP2gF+HMeomG2QhVvgBCoysPETJub3c5oksQ= MIME-Version: 1.0 X-OriginatorOrg: netscout.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4089719e-eade-4c6f-d504-08d703b50c9a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 15:00:43.1222 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 54f11205-d4aa-4809-bd36-0b542199c5b2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cshubhac@netscout.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0101MB2921 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] /run/dpdk cleanup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hello, I run my dpdk applications with "file-prefix" option, so I can run them con= currently. I see that it creates a runtime directory under /var/run/dpdk. T= his directory still persists after the application has terminated. The code= calls rte_eal_cleanup before exiting but that doesn't seem to remove the d= irectory and its content. In my setup I have to consistently bring my appli= cations up, run then for short period and terminate them, each application = run picks a new file-prefix, thus creating new directory under /var/run/dpd= k. After enough number of runs the tempfs partition fills up and results in= to rte_eal_init failure. Is there a cleanup routine or sequence I need to implement to unlink this d= irectory? Your help is appreciated. Chaitanya.