[dpdk-dev] [Bug 560] excessive numbers of open file handles kept open

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Oct 19 19:08:52 CEST 2020


https://bugs.dpdk.org/show_bug.cgi?id=560

            Bug ID: 560
           Summary: excessive numbers of open file handles kept open
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: stephen at networkplumber.org
  Target Milestone: ---

The DPDK memory management of huge pages leaves many open file handles which
may break applications because of running out file descriptors or use of legacy
API's like select that can only handle 1024 fds.

The root cause is in the hugepage segment handling code.

Example.
# lsof -p PID | grep -c rtemap 
1494

Each fd there is counted twice, once as an fd, and once as an mmap.
So in this case 747 file rtemap files are left open.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list