RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1461643 - The NetworkManager process continues to consume increasing amounts of memory.
Summary: The NetworkManager process continues to consume increasing amounts of memory.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Desktop QE
URL:
Whiteboard:
: 1496204 (view as bug list)
Depends On:
Blocks: 1420851 1470965
TreeView+ depends on / blocked
 
Reported: 2017-06-15 04:10 UTC by Robin K I
Modified: 2024-01-06 04:25 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 13:24:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
[PATCH] bus-manager: don't leak connections (2.43 KB, patch)
2017-10-11 13:29 UTC, Beniamino Galvani
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-881 0 None None None 2023-09-07 18:54:45 UTC
Red Hat Product Errata RHBA-2018:0778 0 None None None 2018-04-10 13:26:21 UTC

Description Robin K I 2017-06-15 04:10:04 UTC
Description of problem: NetworkManager is consuming Hugh memory.


Version-Release number of selected component (if applicable): 

OSName: rhel-atomic-host
       Version: 7.3.4-1 
NetworkManager 1:1.4.0-19.el7_3


How reproducible:

# pmap -x 805
805:   /usr/sbin/NetworkManager --no-daemon
Address           Kbytes     RSS   Dirty Mode  Mapping
00007f661c000000    7680    7680    7680 rw---   [ anon ]
00007f661c780000   57856       0       0 -----   [ anon ]
00007f6620000000   61284   61284   61284 rw---   [ anon ]
00007f6623bd9000    4252       0       0 -----   [ anon ]
00007f6624000000   30652   30652   30652 rw---   [ anon ]
00007f6625def000   34884       0       0 -----   [ anon ]
00007f6628000000   65536   65536   65536 rw---   [ anon ]
00007f662c000000   14688   14688   14688 rw---   [ anon ]
00007f662ce58000   50848       0       0 -----   [ anon ]
00007f6630000000   65536   65536   65536 rw---   [ anon ]
00007f6634000000   65536   65536   65536 rw---   [ anon ]
00007f6638000000   12272   12272   12272 rw---   [ anon ]
00007f6638bfc000   53264       0       0 -----   [ anon ]
00007f663c000000   65536   65536   65536 rw---   [ anon ]
00007f6640000000   38840   38840   38840 rw---   [ anon ]
00007f66425ee000   26696       0       0 -----   [ anon ]
00007f6644000000  131072  131072  131072 rw---   [ anon ]
00007f664c000000  131072  131072  131072 rw---   [ anon ]
00007f6654000000   65536   65536   65536 rw---   [ anon ]
00007f6658000000   65536   65536   65536 rw---   [ anon ]
00007f665c000000  131072  131072  131072 rw---   [ anon ]
00007f6664000000   65536   65536   65536 rw---   [ anon ]
00007f6668000000   65536   65536   65536 rw---   [ anon ]
00007f666c000000   65536   65536   65536 rw---   [ anon ]
00007f6670000000   65536   65536   65536 rw---   [ anon ]
00007f6674000000   65536   65536   65536 rw---   [ anon ]
00007f6678000000   65536   65536   65536 rw---   [ anon ]
00007f667c000000   65536   65536   65536 rw---   [ anon ]
00007f6680000000   65536   65536   65536 rw---   [ anon ]
00007f6684000000   65536   65536   65536 rw---   [ anon ]
00007f6688000000   65536   65536   65536 rw---   [ anon ]
00007f668d7fd000   32776   32768   32768 rw---   [ anon ]
00007f6690000000   65536   65536   65536 rw---   [ anon ]
00007f6694000000   65536   65536   65536 rw---   [ anon ]
00007f6698000000   65536   65536   65536 rw---   [ anon ]
00007f669c000000   65536   65536   65536 rw---   [ anon ]
00007f66a0000000  131072  131072  131072 rw---   [ anon ]
00007f66a8000000   65532   65532   65532 rw---   [ anon ]
00007f66abfff000       4       0       0 -----   [ anon ]
00007f66ac000000   65536   65536   65536 rw---   [ anon ]
00007f66b0000000  131072  131072  131072 rw---   [ anon ]
00007f66b8000000  131072  131072  131072 rw---   [ anon ]
00007f66c0000000   65536   65536   65536 rw---   [ anon ]
00007f66c4000000   65536   65536   65536 rw---   [ anon ]
00007f66c8000000   28212   28212   28212 rw---   [ anon ]
00007f66c9b8d000   37324       0       0 -----   [ anon ]
00007f66cc000000   65536   65536   65536 rw---   [ anon ]
00007f66d0000000   65536   65536   65536 rw---   [ anon ]
00007f66d4000000   65536   65536   65536 rw---   [ anon ]
00007f66d8000000   65536   65536   65536 rw---   [ anon ]
00007f66dc000000   65536   65536   65536 rw---   [ anon ]
00007f66e0000000  131072  131072  131072 rw---   [ anon ]
00007f66e8000000   65536   65536   65536 rw---   [ anon ]
00007f66ec000000   65536   65536   65536 rw---   [ anon ]
00007f66f0000000   65536   65536   65536 rw---   [ anon ]
00007f66f4000000   65536   65536   65536 rw---   [ anon ]
00007f66f9bc3000       4       0       0 -----   [ anon ]
00007f66f9bc4000    8192      12      12 rw---   [ anon ]
00007f66fa3c4000       4       0       0 -----   [ anon ]
00007f66fa3c5000    8192      12      12 rw---   [ anon ]
00007f66fabc5000       4       0       0 -----   [ anon ]
00007f66fabc6000    8192      12      12 rw---   [ anon ]
00007f66fb3c6000      20       0       0 r-x-- libnm-settings-plugin-ibft.so
00007f66fb3cb000    2044       0       0 ----- libnm-settings-plugin-ibft.so
00007f66fb5ca000       4       4       4 r---- libnm-settings-plugin-ibft.so
00007f66fb5cb000       4       4       4 rw--- libnm-settings-plugin-ibft.so
00007f66fb5cc000     196      48       0 r-x-- libnm-settings-plugin-ifcfg-rh.so
00007f66fb5fd000    2044       0       0 ----- libnm-settings-plugin-ifcfg-rh.so
00007f66fb7fc000       4       4       4 r---- libnm-settings-plugin-ifcfg-rh.so
00007f66fb7fd000       8       8       8 rw--- libnm-settings-plugin-ifcfg-rh.so
00007f66fb7ff000       4       0       0 -----   [ anon ]
00007f66fb800000    8192    2048    2048 rw---   [ anon ]
00007f66fc000000     132       4       4 rw---   [ anon ]
00007f66fc021000   65404       0       0 -----   [ anon ]
00007f6700020000      48      24       0 r-x-- libnss_files-2.17.so
00007f670002c000    2044       0       0 ----- libnss_files-2.17.so
00007f670022b000       4       4       4 r---- libnss_files-2.17.so
00007f670022c000       4       4       4 rw--- libnss_files-2.17.so
00007f670022d000      24       0       0 rw---   [ anon ]
00007f6700233000       4       0       0 -----   [ anon ]
00007f6700234000    8192      12      12 rw---   [ anon ]
00007f6700a34000       4       0       0 -----   [ anon ]
00007f6700a35000    8192       8       8 rw---   [ anon ]
00007f6701235000     932     448       0 r-x-- libstdc++.so.6.0.19
00007f670131e000    2048       0       0 ----- libstdc++.so.6.0.19
00007f670151e000      32      32      32 r---- libstdc++.so.6.0.19
00007f6701526000       8       8       8 rw--- libstdc++.so.6.0.19
00007f6701528000      84      16      16 rw---   [ anon ]
00007f670153d000      28      12       0 r-x-- libmodman.so.1.0.0
00007f6701544000    2044       0       0 ----- libmodman.so.1.0.0
00007f6701743000       4       4       4 r---- libmodman.so.1.0.0
00007f6701744000       4       4       4 rw--- libmodman.so.1.0.0
00007f6701745000     128      16       0 r-x-- libproxy.so.1.0.0
00007f6701765000    2044       0       0 ----- libproxy.so.1.0.0
00007f6701964000       4       4       4 r---- libproxy.so.1.0.0
00007f6701965000       4       4       4 rw--- libproxy.so.1.0.0
00007f6701b69000   11684      44       0 r---- locale-archive
00007f67026d2000      60       8       0 r-x-- libbz2.so.1.0.6
00007f67026e1000    2044       0       0 ----- libbz2.so.1.0.6
00007f67028e0000       4       4       4 r---- libbz2.so.1.0.6
00007f67028e1000       4       4       4 rw--- libbz2.so.1.0.6
00007f67028e2000      92      16       0 r-x-- libelf-0.166.so
00007f67028f9000    2044       0       0 ----- libelf-0.166.so
00007f6702af8000       4       4       4 r---- libelf-0.166.so
00007f6702af9000       4       4       4 rw--- libelf-0.166.so
00007f6702afa000      16       8       0 r-x-- libattr.so.1.1.0
00007f6702afe000    2044       0       0 ----- libattr.so.1.1.0
00007f6702cfd000       4       4       4 r---- libattr.so.1.1.0
00007f6702cfe000       4       4       4 rw--- libattr.so.1.1.0
00007f6702cff000      28      20       0 r-x-- libffi.so.6.0.1
00007f6702d06000    2044       0       0 ----- libffi.so.6.0.1
00007f6702f05000       4       4       4 r---- libffi.so.6.0.1
00007f6702f06000       4       4       4 rw--- libffi.so.6.0.1
00007f6702f07000     708      44       0 r-x-- libsqlite3.so.0.8.6
00007f6702fb8000    2044       0       0 ----- libsqlite3.so.0.8.6
00007f67031b7000       8       8       8 r---- libsqlite3.so.0.8.6
00007f67031b9000      12      12      12 rw--- libsqlite3.so.0.8.6
00007f67031bc000    1404     180       0 r-x-- libxml2.so.2.9.1
00007f670331b000    2044       0       0 ----- libxml2.so.2.9.1
00007f670351a000      32      32      32 r---- libxml2.so.2.9.1
00007f6703522000       8       8       8 rw--- libxml2.so.2.9.1
00007f6703524000       8       0       0 rw---   [ anon ]
00007f6703526000      16       8       0 r-x-- libcap-ng.so.0.0.0
00007f670352a000    2048       0       0 ----- libcap-ng.so.0.0.0
00007f670372a000       4       4       4 r---- libcap-ng.so.0.0.0
00007f670372b000       4       4       4 rw--- libcap-ng.so.0.0.0
00007f670372c000     384       8       0 r-x-- libpcre.so.1.2.0
00007f670378c000    2044       0       0 ----- libpcre.so.1.2.0
00007f670398b000       4       4       4 r---- libpcre.so.1.2.0
00007f670398c000       4       4       4 rw--- libpcre.so.1.2.0
00007f670398d000      88      16       0 r-x-- libresolv-2.17.so
00007f67039a3000    2048       0       0 ----- libresolv-2.17.so
00007f6703ba3000       4       4       4 r---- libresolv-2.17.so
00007f6703ba4000       4       4       4 rw--- libresolv-2.17.so
00007f6703ba5000       8       0       0 rw---   [ anon ]
00007f6703ba7000      16       8       0 r-x-- libgpg-error.so.0.10.0
00007f6703bab000    2044       0       0 ----- libgpg-error.so.0.10.0
00007f6703daa000       4       4       4 r---- libgpg-error.so.0.10.0
00007f6703dab000       4       4       4 rw--- libgpg-error.so.0.10.0
00007f6703dac000     496      36       0 r-x-- libgcrypt.so.11.8.2
00007f6703e28000    2048       0       0 ----- libgcrypt.so.11.8.2
00007f6704028000       4       4       4 r---- libgcrypt.so.11.8.2
00007f6704029000      12      12      12 rw--- libgcrypt.so.11.8.2
00007f670402c000       4       0       0 rw---   [ anon ]
00007f670402d000     148      16       0 r-x-- liblzma.so.5.2.2
00007f6704052000    2044       0       0 ----- liblzma.so.5.2.2
00007f6704251000       4       4       4 r---- liblzma.so.5.2.2
00007f6704252000       4       4       4 rw--- liblzma.so.5.2.2
00007f6704253000     276      44       0 r-x-- libdw-0.166.so
00007f6704298000    2048       0       0 ----- libdw-0.166.so
00007f6704498000       8       8       8 r---- libdw-0.166.so
00007f670449a000       4       4       4 rw--- libdw-0.166.so
00007f670449b000      16       8       0 r-x-- libcap.so.2.22
00007f670449f000    2044       0       0 ----- libcap.so.2.22
00007f670469e000       4       4       4 r---- libcap.so.2.22
00007f670469f000       4       4       4 rw--- libcap.so.2.22
00007f67046a0000      28      16       0 r-x-- librt-2.17.so
00007f67046a7000    2044       0       0 ----- librt-2.17.so
00007f67048a6000       4       4       4 r---- librt-2.17.so
00007f67048a7000       4       4       4 rw--- librt-2.17.so
00007f67048a8000      84      12       0 r-x-- libz.so.1.2.7
00007f67048bd000    2044       0       0 ----- libz.so.1.2.7
00007f6704abc000       4       4       4 r---- libz.so.1.2.7
00007f6704abd000       4       4       4 rw--- libz.so.1.2.7
00007f6704abe000    1752     748       0 r-x-- libc-2.17.so
00007f6704c74000    2048       0       0 ----- libc-2.17.so
00007f6704e74000      16      16      16 r---- libc-2.17.so
00007f6704e78000       8       8       8 rw--- libc-2.17.so
00007f6704e7a000      20      20      20 rw---   [ anon ]
00007f6704e7f000      84      12       0 r-x-- libgcc_s-4.8.5-20150702.so.1
00007f6704e94000    2044       0       0 ----- libgcc_s-4.8.5-20150702.so.1
00007f6705093000       4       4       4 r---- libgcc_s-4.8.5-20150702.so.1
00007f6705094000       4       4       4 rw--- libgcc_s-4.8.5-20150702.so.1
00007f6705095000       8       8       0 r-x-- libdl-2.17.so
00007f6705097000    2048       0       0 ----- libdl-2.17.so
00007f6705297000       4       4       4 r---- libdl-2.17.so
00007f6705298000       4       4       4 rw--- libdl-2.17.so
00007f6705299000    1232     480       0 r-x-- libglib-2.0.so.0.4600.2
00007f67053cd000    2048       0       0 ----- libglib-2.0.so.0.4600.2
00007f67055cd000       4       4       4 r---- libglib-2.0.so.0.4600.2
00007f67055ce000       4       4       4 rw--- libglib-2.0.so.0.4600.2
00007f67055cf000       4       4       4 rw---   [ anon ]
00007f67055d0000     312     260       0 r-x-- libgobject-2.0.so.0.4600.2
00007f670561e000    2048       0       0 ----- libgobject-2.0.so.0.4600.2
00007f670581e000       4       4       4 r---- libgobject-2.0.so.0.4600.2
00007f670581f000       4       4       4 rw--- libgobject-2.0.so.0.4600.2
00007f6705820000    1504     876       0 r-x-- libgio-2.0.so.0.4600.2
00007f6705998000    2048       0       0 ----- libgio-2.0.so.0.4600.2
00007f6705b98000      16      16      16 r---- libgio-2.0.so.0.4600.2
00007f6705b9c000       8       8       8 rw--- libgio-2.0.so.0.4600.2
00007f6705b9e000       8       8       8 rw---   [ anon ]
00007f6705ba0000     696     252       0 r-x-- libsoup-2.4.so.1.7.0
00007f6705c4e000    2048       0       0 ----- libsoup-2.4.so.1.7.0
00007f6705e4e000       8       8       8 r---- libsoup-2.4.so.1.7.0
00007f6705e50000     108     108     108 rw--- libsoup-2.4.so.1.7.0
00007f6705e6b000     112      16       0 r-x-- libaudit.so.1.0.0
00007f6705e87000    2048       0       0 ----- libaudit.so.1.0.0
00007f6706087000       4       4       4 r---- libaudit.so.1.0.0
00007f6706088000       4       4       4 rw--- libaudit.so.1.0.0
00007f6706089000      40       0       0 rw---   [ anon ]
00007f6706093000     144      32       0 r-x-- libselinux.so.1
00007f67060b7000    2044       0       0 ----- libselinux.so.1
00007f67062b6000       4       4       4 r---- libselinux.so.1
00007f67062b7000       4       4       4 rw--- libselinux.so.1
00007f67062b8000       8       4       4 rw---   [ anon ]
00007f67062ba000    1024      64       0 r-x-- libm-2.17.so
00007f67063ba000    2048       0       0 ----- libm-2.17.so
00007f67065ba000       4       4       4 r---- libm-2.17.so
00007f67065bb000       4       4       4 rw--- libm-2.17.so
00007f67065bc000      20      16       0 r-x-- libndp.so.0.0.0
00007f67065c1000    2044       0       0 ----- libndp.so.0.0.0
00007f67067c0000       4       4       4 r---- libndp.so.0.0.0
00007f67067c1000       4       4       4 rw--- libndp.so.0.0.0
00007f67067c2000     120      44       0 r-x-- libnl-3.so.200.23.0
00007f67067e0000    2048       0       0 ----- libnl-3.so.200.23.0
00007f67069e0000       8       8       8 r---- libnl-3.so.200.23.0
00007f67069e2000       4       4       4 rw--- libnl-3.so.200.23.0
00007f67069e3000      12      12       0 r-x-- libgmodule-2.0.so.0.4600.2
00007f67069e6000    2044       0       0 ----- libgmodule-2.0.so.0.4600.2
00007f6706be5000       4       4       4 r---- libgmodule-2.0.so.0.4600.2
00007f6706be6000       4       4       4 rw--- libgmodule-2.0.so.0.4600.2
00007f6706be7000      92      68       0 r-x-- libpthread-2.17.so
00007f6706bfe000    2044       0       0 ----- libpthread-2.17.so
00007f6706dfd000       4       4       4 r---- libpthread-2.17.so
00007f6706dfe000       4       4       4 rw--- libpthread-2.17.so
00007f6706dff000      16       4       4 rw---   [ anon ]
00007f6706e03000     232      52       0 r-x-- libnspr4.so
00007f6706e3d000    2044       0       0 ----- libnspr4.so
00007f670703c000       4       4       4 r---- libnspr4.so
00007f670703d000       8       8       8 rw--- libnspr4.so
00007f670703f000       8       0       0 rw---   [ anon ]
00007f6707041000      16       8       0 r-x-- libplc4.so
00007f6707045000    2044       0       0 ----- libplc4.so
00007f6707244000       4       4       4 r---- libplc4.so
00007f6707245000       4       4       4 rw--- libplc4.so
00007f6707246000      12       4       0 r-x-- libplds4.so
00007f6707249000    2044       0       0 ----- libplds4.so
00007f6707448000       4       4       4 r---- libplds4.so
00007f6707449000       4       4       4 rw--- libplds4.so
00007f670744a000     152      52       0 r-x-- libnssutil3.so
00007f6707470000    2044       0       0 ----- libnssutil3.so
00007f670766f000      28      28      28 r---- libnssutil3.so
00007f6707676000       4       4       4 rw--- libnssutil3.so
00007f6707677000    1156     100       0 r-x-- libnss3.so
00007f6707798000    2048       0       0 ----- libnss3.so
00007f6707998000      20      20      20 r---- libnss3.so
00007f670799d000       8       8       8 rw--- libnss3.so
00007f670799f000       8       0       0 rw---   [ anon ]
00007f67079a1000     144      40       0 r-x-- libsmime3.so
00007f67079c5000    2044       0       0 ----- libsmime3.so
00007f6707bc4000      12      12      12 r---- libsmime3.so
00007f6707bc7000       4       4       4 rw--- libsmime3.so
00007f6707bc8000     284      48       0 r-x-- libssl3.so
00007f6707c0f000    2044       0       0 ----- libssl3.so
00007f6707e0e000      16      16      16 r---- libssl3.so
00007f6707e12000       4       4       4 rw--- libssl3.so
00007f6707e13000       4       0       0 rw---   [ anon ]
00007f6707e14000      44      12       0 r-x-- libjansson.so.4.4.0
00007f6707e1f000    2044       0       0 ----- libjansson.so.4.4.0
00007f670801e000       4       4       4 r---- libjansson.so.4.4.0
00007f670801f000       4       4       4 rw--- libjansson.so.4.4.0
00007f6708020000      16      12       0 r-x-- libuuid.so.1.3.0
00007f6708024000    2044       0       0 ----- libuuid.so.1.3.0
00007f6708223000       4       4       4 r---- libuuid.so.1.3.0
00007f6708224000       4       4       4 rw--- libuuid.so.1.3.0
00007f6708225000     128     116       0 r-x-- ld-2.17.so
00007f67083dd000      48      48      48 rw---   [ anon ]
00007f67083e9000      72      60       0 r-x-- libudev.so.1.6.2
00007f67083fb000       4       0       0 ----- libudev.so.1.6.2
00007f67083fc000       4       4       4 r---- libudev.so.1.6.2
00007f67083fd000       4       4       4 rw--- libudev.so.1.6.2
00007f67083fe000      20      20      20 rw---   [ anon ]
00007f6708403000     152      32       0 r-x-- libsystemd.so.0.6.0
00007f6708429000       4       4       4 r---- libsystemd.so.0.6.0
00007f670842a000       4       4       4 rw--- libsystemd.so.0.6.0
00007f670842b000      36      28       0 r-x-- libgudev-1.0.so.0.2.0
00007f6708434000       4       0       0 ----- libgudev-1.0.so.0.2.0
00007f6708435000       4       4       4 r---- libgudev-1.0.so.0.2.0
00007f6708436000      20      20      20 rw---   [ anon ]
00007f670843c000      28      24       0 r--s- gconv-modules.cache
00007f6708443000       4       4       4 rw---   [ anon ]
00007f6708444000       4       4       4 r---- ld-2.17.so
00007f6708445000       4       4       4 rw--- ld-2.17.so
00007f6708446000       4       4       4 rw---   [ anon ]
00007f6708447000    2456    1156       0 r-x-- NetworkManager
00007f67088ac000      72      72      72 r---- NetworkManager
00007f67088be000       8       8       8 rw--- NetworkManager
00007f67088c0000       8       8       8 rw---   [ anon ]
00007f6708911000 1008536 1008508 1008508 rw---   [ anon ]
00007ffc44780000     132      48      48 rw---   [ stack ]
00007ffc447d4000       8       4       0 r-x--   [ anon ]
ffffffffff600000       4       0       0 r-x--   [ anon ]
---------------- ------- ------- -------
total kB         4817216 4323856 4318180

Steps to Reproduce:
1.
2.
3.

Actual results:

Networkmanager is consuming high memory.


Expected results:

Memory consumption should be normal.

Additional info:

updated the atomic host version from  7.3.2 to 7.3.4-1 for getting the latest NM package but the issue still persists.

Related bugzilla : https://bugzilla.redhat.com/show_bug.cgi?id=1436650

Comment 2 Beniamino Galvani 2017-06-15 12:02:59 UTC
Hi,

I think this is a different issue than bug 1436650, because that was
reported as fixed by other users.

Maybe you can try to run NM under valgrind for some time (at least 20
minutes), then kill it with Control-C and attach the log.txt
file? Here the steps:

 yum install valgrind
 systemctl stop NetworkManager
 valgrind --leak-check=full /sbin/NetworkManager -d > log.txt 2>&1
 # (... kill it after some time)
 systemctl start NetworkManager

Thanks!

Comment 11 Beniamino Galvani 2017-06-30 08:32:21 UTC
From the customer case comments I understand that the leak only
happens on some machines and not on others. Do you have any idea about
the differences in configuration between those?

The attached valgrind log doesn't show any evident memory leak. I also
tried to reproduce the scenario in a VM where ovs slaves are
constantly added and removed, but I see a constant memory usage.

Would you mind doing another try with the following commands, which
should capture also the memory blocks that are still reachable and
will show more information about what NM is doing?

 systemctl mask NetworkManager
 systemctl stop NetworkManager
 valgrind --leak-check=full --show-leak-kinds=all --num-callers=40 /sbin/NetworkManager -d --log-level=TRACE > log.txt 2>&1
 # Wait 15 minutes, then terminate with Ctrl-C

Thanks!

Comment 29 Beniamino Galvani 2017-10-11 13:29:38 UTC
Created attachment 1337231 [details]
[PATCH] bus-manager: don't leak connections

Comment 30 Thomas Haller 2017-10-11 13:45:06 UTC
(In reply to Beniamino Galvani from comment #29)
> Created attachment 1337231 [details]
> [PATCH] bus-manager: don't leak connections

lgtm

Comment 37 Beniamino Galvani 2017-11-02 14:42:01 UTC
*** Bug 1496204 has been marked as a duplicate of this bug. ***

Comment 40 errata-xmlrpc 2018-04-10 13:24:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0778

Comment 41 Red Hat Bugzilla 2024-01-06 04:25:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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