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 60690A00E6 for ; Mon, 8 Jul 2019 17:41:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79C8037B0; Mon, 8 Jul 2019 17:41:19 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by dpdk.org (Postfix) with ESMTP id 846762C60 for ; Mon, 8 Jul 2019 17:41:17 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id l21so3887255pgm.3 for ; Mon, 08 Jul 2019 08:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CjvkNhSUQGBHOtvkD4Ce1Vnn2M6R/JtmYCOm2EAJdAU=; b=Jb1Hkmxvhnxdd/DL2AkJvn+4iJ1K3Fq7mBKKloSIVc9Z7OZ+4FPIQLiVSxUAhYJF7x O6wGAW/WDfU4YQ2nshWPOZQX4orM1jqF7u9LgEM0yuqFsOeEU/6BTgth9Y/CU946caK+ EOb5Ruojz1Y+/VzlgvD+lEJg57/hbunfRhnZrx/yylvU38qkK8xntk2hIKT8ibFvvwfH AofqQ+ywdNs64c1lTPc2TYlyIdVz7Hc6QEo6jK6xv2HE5LoPxvgdFjE6+3tNQMQkryyb 8fCsnzG/qciEToaIt8bDfOYQQOg5jw4lDhXxM1NAV1UQt4dE+EY/EOaQe2kM/wCuO4gS AbAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CjvkNhSUQGBHOtvkD4Ce1Vnn2M6R/JtmYCOm2EAJdAU=; b=ltELXDfudFe2Tv9POesKEJ94sNtzATfPmD45Xr9SNo+p4l+SyBUrTwtcUjK1GecpVq DIUtNFw9Qb6D0U7XDCm2FxrdiwElm4UMwJDb4HmlAiu5Bv+pf9T4tifVBGGaXMXpusvk cteXBD2VUC/Sqs1RMfy1hg2qr33zCJ6vxOsPXTk25Y0W78wgJIo5nSRRYcpONbwtAZtn AGxh01HkC83aM4lfjYcvYjTh+wlQ+HQBUEPJz8NAsnwG2BsXjki2VFjdHRrpAGiWFj0d sI69c/SP/Vaydpo1DloS/eno6wuPPWvuMRHuZ0X+mnl2ZSv3G6OhS8hvPEsjiocnI+HD Jycw== X-Gm-Message-State: APjAAAX0n6QYPfYcRRGVAzy29Mlni+/A0b09GLah/sStT4o21WIo7iqz 9cn6XIpmJe+4Mdewmw3TM9f3pvlLbVM= X-Google-Smtp-Source: APXvYqzec+8gkz2OJLNbRj4tqsHjxZbHFcWxCkmNvtlKQ4wwdabnCtYVcQa9yFGreEQw3PaMTcmDWA== X-Received: by 2002:a63:dc50:: with SMTP id f16mr24900495pgj.447.1562600476542; Mon, 08 Jul 2019 08:41:16 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h129sm18400346pfb.110.2019.07.08.08.41.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 08:41:16 -0700 (PDT) Date: Mon, 8 Jul 2019 08:41:09 -0700 From: Stephen Hemminger To: "Shubhachint, Chaitanya" Cc: "dev@dpdk.org" Message-ID: <20190708084109.414c0750@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [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" On Mon, 8 Jul 2019 15:00:43 +0000 "Shubhachint, Chaitanya" wrote: > Hello, > > I run my dpdk applications with "file-prefix" option, so I can run them concurrently. I see that it creates a runtime directory under /var/run/dpdk. This directory still persists after the application has terminated. The code calls rte_eal_cleanup before exiting but that doesn't seem to remove the directory and its content. In my setup I have to consistently bring my applications up, run then for short period and terminate them, each application run picks a new file-prefix, thus creating new directory under /var/run/dpdk. After enough number of runs the tempfs partition fills up and results into rte_eal_init failure. > Is there a cleanup routine or sequence I need to implement to unlink this directory? Your help is appreciated. > > Chaitanya. It would be better if DPDK used Unix domain abstract address everywhere. The abstract form of address does not show up in file system and is automatically removed on process exit (close).