DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Shubhachint, Chaitanya" <Chaitanya.Shubhachint@netscout.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] /run/dpdk cleanup
Date: Mon, 8 Jul 2019 15:00:43 +0000	[thread overview]
Message-ID: <DM5PR0101MB2954D8F49E8BB0BF093D911587F60@DM5PR0101MB2954.prod.exchangelabs.com> (raw)

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.

             reply	other threads:[~2019-07-08 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 15:00 Shubhachint, Chaitanya [this message]
2019-07-08 15:41 ` Stephen Hemminger
2019-07-09  9:58 ` Burakov, Anatoly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR0101MB2954D8F49E8BB0BF093D911587F60@DM5PR0101MB2954.prod.exchangelabs.com \
    --to=chaitanya.shubhachint@netscout.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).