From: Manomugdha Biswas <MBiswas@ixiacom.com>
To: Tang Chen <tangchen@cn.fujitsu.com>,
Toshi Kani <toshi.kani@hp.com>, "rjw@sisk.pl" <rjw@sisk.pl>,
"lenb@kernel.org" <lenb@kernel.org>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@elte.hu" <mingo@elte.hu>, "hpa@zytor.com" <hpa@zytor.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"tj@kernel.org" <tj@kernel.org>, "trenn@suse.de" <trenn@suse.de>,
"yinghai@kernel.org" <yinghai@kernel.org>,
"jiang.liu@huawei.com" <jiang.liu@huawei.com>,
"wency@cn.fujitsu.com" <wency@cn.fujitsu.com>,
"laijs@cn.fujitsu.com" <laijs@cn.fujitsu.com>,
"isimatu.yasuaki@jp.fujitsu.com" <isimatu.yasuaki@jp.fujitsu.com>,
"izumi.taku@jp.fujitsu.com" <izumi.taku@jp.fujitsu.com>,
"mgorman@suse.de" <mgorman@suse.de>,
"minchan@kernel.org" <minchan@kernel.org>,
"mina86@mina86.com" <mina86@mina86.com>,
"gong.chen@linux.intel.com" <gong.chen@linux.intel.com>,
"vasilis.liaskovitis@profitbricks.com"
<vasilis.liaskovitis@profitbricks.com>,
"lwoodman@redhat.com" <lwoodman@redhat.com>,
"riel@redhat.com" <riel@redhat.com>,
"jweiner@redhat.com" <jweiner@redhat.com>,
"prarit@redhat.com" <prarit@redhat.com>,
"zhangyanfei@cn.fujitsu.com" <zhangyanfei@cn.fujitsu.com>,
"x86@kernel.org" <x86@kernel.org>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: /proc/pid/maps
Date: Wed, 4 Sep 2013 04:03:31 +0000 [thread overview]
Message-ID: <8F59616961A3BD458BB4F59E7102BA0467BEFFFA@CH1PRD0611MB444.namprd06.prod.outlook.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 5499 bytes --]
Hi,
I am running an application and observing a memory leak. I took two snapshots of âmapsâ. One is before starting the action which is causing memory leak and another is after memory leak.
Following are the snapshots:
Before:
=======
# cat /proc/481/maps
0fba9000-0fcdf000 r-xp 00000000 00:0a 371 /lib/libc-2.3.3.so
0fcdf000-0fce9000 ---p 00136000 00:0a 371 /lib/libc-2.3.3.so
0fce9000-0fcf3000 rwxp 00130000 00:0a 371 /lib/libc-2.3.3.so
0fcf3000-0fcf6000 rwxp 0fcf3000 00:00 0
0fd06000-0fd19000 r-xp 00000000 00:0a 466 /lib/libgcc_s.so.1
0fd19000-0fd26000 ---p 00013000 00:0a 466 /lib/libgcc_s.so.1
0fd26000-0fd2a000 rwxp 00010000 00:0a 466 /lib/libgcc_s.so.1
0fd3a000-0fdad000 r-xp 00000000 00:0a 455 /lib/libm-2.3.3.so
0fdad000-0fdba000 ---p 00073000 00:0a 455 /lib/libm-2.3.3.so
0fdba000-0fdc0000 rwxp 00070000 00:0a 455 /lib/libm-2.3.3.so
0fdd0000-0fec6000 r-xp 00000000 00:0a 459 /lib/libstdc++.so.6.0.9
0fec6000-0fed0000 ---p 000f6000 00:0a 459 /lib/libstdc++.so.6.0.9
0fed0000-0fedb000 rwxp 000f0000 00:0a 459 /lib/libstdc++.so.6.0.9
0fedb000-0fee2000 rwxp 0fedb000 00:00 0
0fef2000-0fefe000 r-xp 00000000 00:0a 514 /usr/lib/libixml.so
0fefe000-0ff02000 ---p 0000c000 00:0a 514 /usr/lib/libixml.so
0ff02000-0ff0e000 rwxp 00000000 00:0a 514 /usr/lib/libixml.so
0ff0e000-0ff0f000 rwxp 0ff0e000 00:00 0
0ff1f000-0ff2d000 r-xp 00000000 00:0a 361 /lib/libpthread-0.10.so
0ff2d000-0ff2f000 ---p 0000e000 00:0a 361 /lib/libpthread-0.10.so
0ff2f000-0ff3e000 rwxp 00000000 00:0a 361 /lib/libpthread-0.10.so
0ff3e000-0ff80000 rwxp 0ff3e000 00:00 0
0ff90000-0ff95000 r-xp 00000000 00:0a 368 /lib/libcrypt-2.3.3.so
0ff95000-0ffa0000 ---p 00005000 00:0a 368 /lib/libcrypt-2.3.3.so
0ffa0000-0ffa5000 rwxp 00000000 00:0a 368 /lib/libcrypt-2.3.3.so
0ffa5000-0ffcc000 rwxp 0ffa5000 00:00 0
0ffdc000-0ffe0000 r-xp 00000000 00:0a 510 /usr/lib/liberrhand.so
0ffe0000-0ffec000 ---p 00004000 00:0a 510 /usr/lib/liberrhand.so
0ffec000-0fff0000 rwxp 00000000 00:0a 510 /usr/lib/liberrhand.so
10000000-101b2000 r-xp 00000000 00:0a 1685 /opt/bgpd/bin/bgpd
101c2000-101d1000 rwxp 001b2000 00:0a 1685 /opt/bgpd/bin/bgpd
101d1000-157cc000 rwxp 101d1000 00:00 0
30000000-30016000 r-xp 00000000 00:0a 357 /lib/ld-2.3.3.so
30016000-30019000 rw-p 30016000 00:00 0
30019000-30022000 rw-s 00000000 00:06 0 /SYSV024f823f (deleted)
30022000-30023000 rw-s 00000000 00:06 163845 /SYSV0001ed23 (deleted)
30026000-30027000 rwxp 00016000 00:0a 357 /lib/ld-2.3.3.so
7feff000-80000000 rwxp 7feff000 00:00 0
After:
=====
# cat /proc/481/maps
0fba9000-0fcdf000 r-xp 00000000 00:0a 371 /lib/libc-2.3.3.so
0fcdf000-0fce9000 ---p 00136000 00:0a 371 /lib/libc-2.3.3.so
0fce9000-0fcf3000 rwxp 00130000 00:0a 371 /lib/libc-2.3.3.so
0fcf3000-0fcf6000 rwxp 0fcf3000 00:00 0
0fd06000-0fd19000 r-xp 00000000 00:0a 466 /lib/libgcc_s.so.1
0fd19000-0fd26000 ---p 00013000 00:0a 466 /lib/libgcc_s.so.1
0fd26000-0fd2a000 rwxp 00010000 00:0a 466 /lib/libgcc_s.so.1
0fd3a000-0fdad000 r-xp 00000000 00:0a 455 /lib/libm-2.3.3.so
0fdad000-0fdba000 ---p 00073000 00:0a 455 /lib/libm-2.3.3.so
0fdba000-0fdc0000 rwxp 00070000 00:0a 455 /lib/libm-2.3.3.so
0fdd0000-0fec6000 r-xp 00000000 00:0a 459 /lib/libstdc++.so.6.0.9
0fec6000-0fed0000 ---p 000f6000 00:0a 459 /lib/libstdc++.so.6.0.9
0fed0000-0fedb000 rwxp 000f0000 00:0a 459 /lib/libstdc++.so.6.0.9
0fedb000-0fee2000 rwxp 0fedb000 00:00 0
0fef2000-0fefe000 r-xp 00000000 00:0a 514 /usr/lib/libixml.so
0fefe000-0ff02000 ---p 0000c000 00:0a 514 /usr/lib/libixml.so
0ff02000-0ff0e000 rwxp 00000000 00:0a 514 /usr/lib/libixml.so
0ff0e000-0ff0f000 rwxp 0ff0e000 00:00 0
0ff1f000-0ff2d000 r-xp 00000000 00:0a 361 /lib/libpthread-0.10.so
0ff2d000-0ff2f000 ---p 0000e000 00:0a 361 /lib/libpthread-0.10.so
0ff2f000-0ff3e000 rwxp 00000000 00:0a 361 /lib/libpthread-0.10.so
0ff3e000-0ff80000 rwxp 0ff3e000 00:00 0
0ff90000-0ff95000 r-xp 00000000 00:0a 368 /lib/libcrypt-2.3.3.so
0ff95000-0ffa0000 ---p 00005000 00:0a 368 /lib/libcrypt-2.3.3.so
0ffa0000-0ffa5000 rwxp 00000000 00:0a 368 /lib/libcrypt-2.3.3.so
0ffa5000-0ffcc000 rwxp 0ffa5000 00:00 0
0ffdc000-0ffe0000 r-xp 00000000 00:0a 510 /usr/lib/liberrhand.so
0ffe0000-0ffec000 ---p 00004000 00:0a 510 /usr/lib/liberrhand.so
0ffec000-0fff0000 rwxp 00000000 00:0a 510 /usr/lib/liberrhand.so
10000000-101b2000 r-xp 00000000 00:0a 1685 /opt/bgpd/bin/bgpd
101c2000-101d1000 rwxp 001b2000 00:0a 1685 /opt/bgpd/bin/bgpd
101d1000-17a25000 rwxp 101d1000 00:00 0
30000000-30016000 r-xp 00000000 00:0a 357 /lib/ld-2.3.3.so
30016000-30019000 rw-p 30016000 00:00 0
30019000-30022000 rw-s 00000000 00:06 0 /SYSV024f823f (deleted)
30022000-30023000 rw-s 00000000 00:06 163845 /SYSV0001ed23 (deleted)
30026000-30027000 rwxp 00016000 00:0a 357 /lib/ld-2.3.3.so
7feff000-80000000 rwxp 7feff000 00:00 0
My applications name is â/opt/bgpd/bin/bgpdâ.
It is seen that the red marked section is consuming the memory. Who is consuming this memory?
Regards,
Mano
N§²æìr¸zǧu©²Æ {\béì¹»\x1c®&Þ)îÆi¢Ø^nr¶Ý¢j$½§$¢¸\x05¢¹¨è§~'.)îÄÃ,yèm¶ÿÃ\f%{±j+ðèצj)Z·
next reply other threads:[~2013-09-04 4:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 4:03 Manomugdha Biswas [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-09-03 12:19 /proc/pid/maps Manomugdha Biswas
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=8F59616961A3BD458BB4F59E7102BA0467BEFFFA@CH1PRD0611MB444.namprd06.prod.outlook.com \
--to=mbiswas@ixiacom.com \
--cc=akpm@linux-foundation.org \
--cc=gong.chen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=isimatu.yasuaki@jp.fujitsu.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=jiang.liu@huawei.com \
--cc=jweiner@redhat.com \
--cc=laijs@cn.fujitsu.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lwoodman@redhat.com \
--cc=mgorman@suse.de \
--cc=mina86@mina86.com \
--cc=minchan@kernel.org \
--cc=mingo@elte.hu \
--cc=prarit@redhat.com \
--cc=riel@redhat.com \
--cc=rjw@sisk.pl \
--cc=tangchen@cn.fujitsu.com \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=toshi.kani@hp.com \
--cc=trenn@suse.de \
--cc=vasilis.liaskovitis@profitbricks.com \
--cc=wency@cn.fujitsu.com \
--cc=x86@kernel.org \
--cc=yinghai@kernel.org \
--cc=zhangyanfei@cn.fujitsu.com \
/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