Bug 1293 - how to free mempool in secondary as prev process exit unnormally without calling free function
Summary: how to free mempool in secondary as prev process exit unnormally without call...
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 21.11
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2023-09-21 14:33 CEST by zero
Modified: 2023-09-21 14:33 CEST (History)
0 users



Attachments

Description zero 2023-09-21 14:33:39 CEST
hi, I recently using dpdk primary as a stable program that won't exit maybe for a month, so i need do rx_burst in a secondary program,however, cause the secondary does a lot work and it may exit at any time,and restart,
here is my question:
  1.how to smoothly free or reset the ring,mempoop,zone and rte_ip_frag_tbl before my secondary process start up at next time?
  2.what can i do to prevent memery leaking as my secondary process would restart many times?

very much looking forword your reply.

Note You need to log in before you can comment on or make changes to this bug.