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 635555 - multipathd is a memory hog
Summary: multipathd is a memory hog
Keywords:
Status: CLOSED DUPLICATE of bug 623644
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: device-mapper-multipath
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-20 07:20 UTC by Cyril Plisko
Modified: 2010-11-15 04:08 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-15 04:08:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Cyril Plisko 2010-09-20 07:20:43 UTC
We recently noticed that on our systems (hosts running VDSM) the multipathd memory footprint is suspiciously high.

That what top shows:

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ COMMAND                                                                        
1625 root      RT   0 1764m 126m 3652 S  0.0  1.6  73:23.99 multipathd                                                                     

And here is pmap -x

[root@white-vdsd ~]# pmap -x 1625
1625:   /sbin/multipathd
Address           Kbytes     RSS   Dirty Mode   Mapping
0000000000400000      64      64       0 r-x--  multipathd (deleted)
0000000000610000      12      12      12 rw---  multipathd (deleted)
0000000002294000     532     532     532 rw---    [ anon ]
0000003452800000     120     120       0 r-x--  ld-2.12.so
0000003452a1e000       4       4       4 r----  ld-2.12.so
0000003452a1f000       4       4       4 rw---  ld-2.12.so
0000003452a20000       4       4       4 rw---    [ anon ]
0000003452c00000    1492    1492       0 r-x--  libc-2.12.so
0000003452d75000    2048       0       0 -----  libc-2.12.so
0000003452f75000      16      16       8 r----  libc-2.12.so
0000003452f79000       4       4       4 rw---  libc-2.12.so
0000003452f7a000      20      20      20 rw---    [ anon ]
0000003453000000       8       8       0 r-x--  libdl-2.12.so
0000003453002000    2048       0       0 -----  libdl-2.12.so
0000003453202000       4       4       4 r----  libdl-2.12.so
0000003453203000       4       4       4 rw---  libdl-2.12.so
0000003453400000      92      92       0 r-x--  libpthread-2.12.so
0000003453417000    2048       0       0 -----  libpthread-2.12.so
0000003453617000       4       4       4 r----  libpthread-2.12.so
0000003453618000       4       4       4 rw---  libpthread-2.12.so
0000003453619000      16      16      16 rw---    [ anon ]
0000003453800000     116     116       0 r-x--  libselinux.so.1
000000345381d000    2044       0       0 -----  libselinux.so.1
0000003453a1c000       4       4       4 r----  libselinux.so.1
0000003453a1d000       4       4       4 rw---  libselinux.so.1
0000003453a1e000       4       4       4 rw---    [ anon ]
0000003453c00000     280     280       0 r-x--  libmultipath.so
0000003453c46000    2044       0       0 -----  libmultipath.so
0000003453e45000      16      16      16 rw---  libmultipath.so
0000003453e49000       4       4       4 rw---    [ anon ]
0000003454000000     136     136       0 r-x--  libncurses.so.5.7
0000003454022000    2044       0       0 -----  libncurses.so.5.7
0000003454221000       4       4       4 rw---  libncurses.so.5.7
0000003454400000     524     524       0 r-x--  libm-2.12.so
0000003454483000    2044       0       0 -----  libm-2.12.so
0000003454682000       4       4       4 r----  libm-2.12.so
0000003454683000       4       4       4 rw---  libm-2.12.so
0000003454800000     116     116       0 r-x--  libtinfo.so.5.7
000000345481d000    2048       0       0 -----  libtinfo.so.5.7
0000003454a1d000      16      16      16 rw---  libtinfo.so.5.7
0000003454c00000     240     240       0 r-x--  libsepol.so.1
0000003454c3c000    2044       0       0 -----  libsepol.so.1
0000003454e3b000       4       4       4 rw---  libsepol.so.1
0000003459000000     232     232       0 r-x--  libreadline.so.6.0
000000345903a000    2048       0       0 -----  libreadline.so.6.0
000000345923a000      32      32      32 rw---  libreadline.so.6.0
0000003459242000       4       4       4 rw---    [ anon ]
000000345b000000      56      56       0 r-x--  libudev.so.0.5.1
000000345b00e000    2048       0       0 -----  libudev.so.0.5.1
000000345b20e000       4       4       4 rw---  libudev.so.0.5.1
0000003b0b600000       4       4       0 r-x--  libaio.so.1.0.1
0000003b0b601000    2044       4       0 -----  libaio.so.1.0.1
0000003b0b800000       4       4       4 rw---  libaio.so.1.0.1
00007ff830000000   56292   56292   56292 rw---    [ anon ]
00007ff8336f9000    9244       0       0 -----    [ anon ]
00007ff838000000     132      72      72 rw---    [ anon ]
00007ff838021000   65404       0       0 -----    [ anon ]
00007ff83c000000     132      72      72 rw---    [ anon ]
00007ff83c021000   65404       0       0 -----    [ anon ]
00007ff840000000     132      72      72 rw---    [ anon ]
00007ff840021000   65404       0       0 -----    [ anon ]
00007ff844000000     132      72      72 rw---    [ anon ]
00007ff844021000   65404       0       0 -----    [ anon ]
00007ff848000000     132      72      72 rw---    [ anon ]
00007ff848021000   65404       0       0 -----    [ anon ]
00007ff84c000000     132      72      72 rw---    [ anon ]
00007ff84c021000   65404       0       0 -----    [ anon ]
00007ff850000000     132      72      72 rw---    [ anon ]
00007ff850021000   65404       0       0 -----    [ anon ]
00007ff854000000     132      72      72 rw---    [ anon ]
00007ff854021000   65404       0       0 -----    [ anon ]
00007ff858000000     132      72      72 rw---    [ anon ]
00007ff858021000   65404       0       0 -----    [ anon ]
00007ff85c000000     132      72      72 rw---    [ anon ]
00007ff85c021000   65404       0       0 -----    [ anon ]
00007ff860000000     132     108     108 rw---    [ anon ]
00007ff860021000   65404       0       0 -----    [ anon ]
00007ff864000000     132      72      72 rw---    [ anon ]
00007ff864021000   65404       0       0 -----    [ anon ]
00007ff868000000     132      72      72 rw---    [ anon ]
00007ff868021000   65404       0       0 -----    [ anon ]
00007ff86c000000     132      72      72 rw---    [ anon ]
00007ff86c021000   65404       0       0 -----    [ anon ]
00007ff870000000   65536   65536   65536 rw---    [ anon ]
00007ff874000000     132     108     108 rw---    [ anon ]
00007ff874021000   65404       0       0 -----    [ anon ]
00007ff878000000     132      20      20 rw---    [ anon ]
00007ff878021000   65404       0       0 -----    [ anon ]
00007ff87c000000     132      72      72 rw---    [ anon ]
00007ff87c021000   65404       0       0 -----    [ anon ]
00007ff880000000     132      20      20 rw---    [ anon ]
00007ff880021000   65404       0       0 -----    [ anon ]
00007ff888000000     132      20      20 rw---    [ anon ]
00007ff888021000   65404       0       0 -----    [ anon ]
00007ff890000000     132      20      20 rw---    [ anon ]
00007ff890021000   65404       0       0 -----    [ anon ]
00007ff898000000     132      72      72 rw---    [ anon ]
00007ff898021000   65404       0       0 -----    [ anon ]
00007ff8a0000000     132      20      20 rw---    [ anon ]
00007ff8a0021000   65404       0       0 -----    [ anon ]
00007ff8a8000000     132       8       8 rw---    [ anon ]
00007ff8a8021000   65404       0       0 -----    [ anon ]
00007ff8b0000000     132      96      96 rw---    [ anon ]
00007ff8b0021000   65404       0       0 -----    [ anon ]
00007ff8b8000000     132      16      16 rw---    [ anon ]
00007ff8b8021000   65404       0       0 -----    [ anon ]
00007ff8be537000    1032    1032    1032 rw---    [ anon ]
00007ff8be6b6000       4       4       4 -----    [ anon ]
00007ff8be6b7000      32      32      32 rw---    [ anon ]
00007ff8be6bf000       4       4       4 -----    [ anon ]
00007ff8be6c0000      32      32      32 rw---    [ anon ]
00007ff8be6c8000       4       4       4 -----    [ anon ]
00007ff8be6c9000      32      32      32 rw---    [ anon ]
00007ff8be6d1000       4       4       4 -----    [ anon ]
00007ff8be6d2000      32      32      32 rw---    [ anon ]
00007ff8be6da000       4       4       4 -----    [ anon ]
00007ff8be6db000      32      32      32 rw---    [ anon ]
00007ff8be6e3000       4       4       4 -----    [ anon ]
00007ff8be6e4000      32      32      32 rw---    [ anon ]
00007ff8be6ec000       4       4       4 -----    [ anon ]
00007ff8be6ed000      32      32      32 rw---    [ anon ]
00007ff8be6f5000       4       4       4 -----    [ anon ]
00007ff8be6f6000      36      36      36 rw---    [ anon ]
00007ff8be6ff000       4       4       4 -----    [ anon ]
00007ff8be700000      32      32      32 rw---    [ anon ]
00007ff8be708000       4       4       4 -----    [ anon ]
00007ff8be709000      32      32      32 rw---    [ anon ]
00007ff8be711000       4       4       4 -----    [ anon ]
00007ff8be712000      32      32      32 rw---    [ anon ]
00007ff8be71a000       4       4       4 -----    [ anon ]
00007ff8be71b000      32      32      32 rw---    [ anon ]
00007ff8be723000       4       4       4 -----    [ anon ]
00007ff8be724000      32      32      32 rw---    [ anon ]
00007ff8be72c000       4       4       4 -----    [ anon ]
00007ff8be72d000      32      32      32 rw---    [ anon ]
00007ff8be735000       4       4       4 -----    [ anon ]
00007ff8be736000      28      28      28 rw---    [ anon ]
00007ff8be73d000       4       4       4 -----    [ anon ]
00007ff8be73e000      64      64      64 rw---    [ anon ]
00007ff8be74e000       4       4       4 -----    [ anon ]
00007ff8be74f000      64      64      64 rw---    [ anon ]
00007ff8be75f000       4       4       4 -----    [ anon ]
00007ff8be760000      64      64      64 rw---    [ anon ]
00007ff8be770000       4       4       4 -----    [ anon ]
00007ff8be771000      64      64      64 rw---    [ anon ]
00007ff8be781000       4       4       4 -----    [ anon ]
00007ff8be782000      28      28      28 rw---    [ anon ]
00007ff8be789000       4       4       4 -----    [ anon ]
00007ff8be78a000      28      28      28 rw---    [ anon ]
00007ff8be791000       4       4       4 -----    [ anon ]
00007ff8be792000      28      28      28 rw---    [ anon ]
00007ff8be799000       4       4       4 -----    [ anon ]
00007ff8be79a000      28      28      28 rw---    [ anon ]
00007ff8be7a1000       4       4       4 -----    [ anon ]
00007ff8be7a2000      28      28      28 rw---    [ anon ]
00007ff8be7a9000       4       4       4 -----    [ anon ]
00007ff8be7aa000      48      48      48 rw---    [ anon ]
00007ff8be7b6000       4       4       0 r-x--  libprioconst.so
00007ff8be7b7000    2044       0       0 -----  libprioconst.so
00007ff8be9b6000       4       4       4 rw---  libprioconst.so
00007ff8be9b7000       8       8       0 r-x--  libcheckdirectio.so
00007ff8be9b9000    2044       4       0 -----  libcheckdirectio.so
00007ff8bebb8000       4       4       4 rw---  libcheckdirectio.so
00007ff8bebb9000       4       4       4 -----    [ anon ]
00007ff8bebba000      92      92      92 rw---    [ anon ]
00007ff8bebd1000     140     140       0 r-x--  libdevmapper.so.1.02.#prelink#.TNCsif (deleted)
00007ff8bebf4000    2048       0       0 -----  libdevmapper.so.1.02.#prelink#.TNCsif (deleted)
00007ff8bedf4000       8       8       8 rw---  libdevmapper.so.1.02.#prelink#.TNCsif (deleted)
00007ff8bedf6000      36      36      36 rw---    [ anon ]
00007fffcff04000      84      84      84 rw---    [ stack ]
00007fffcffff000       4       4       0 r-x--    [ anon ]
ffffffffff600000       4       0       0 r-x--    [ anon ]
----------------  ------  ------  ------
total kB         1806824  130012  126360


That is on RHEL6:

[root@white-vdsd ~]# rpm -qa | grep multip
device-mapper-multipath-0.4.9-25.el6.x86_64
device-mapper-multipath-libs-0.4.9-25.el6.x86_64
[root@white-vdsd ~]#

Comment 2 Ben Marzinski 2010-11-15 04:08:54 UTC

*** This bug has been marked as a duplicate of bug 623644 ***


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