Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
which library is using /dev/zero
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
linux_bp  
View profile  
 More options Oct 22, 3:58 pm
Newsgroups: comp.os.linux.development.system
From: linux_bp <rishabh.g...@gmail.com>
Date: Wed, 21 Oct 2009 22:58:58 -0700 (PDT)
Local: Thurs, Oct 22 2009 3:58 pm
Subject: which library is using /dev/zero
My C++ application is running on Red Hat Enterprise Linux ES release
3. Our application is growing in size continuously. On taking a pmap
of the process it shows lot of entries corresponding to /dev/zero
which contributes the increase in process size. Is it because of some
OS library or because of any thirdparty library. How can we find out
what is contributing to lot of /dev/zero entries. We are observing
this only in production and not in our lab systems.

"pmapOutCCM.log.int" 852 lines, 51301 characters
/Home1/rsinsp/NSP//CMM/redhat80g/bin/ccm[1579]
00111000 (352 KB)      r-xp (08:0a 3686422)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libMgcpProvider.so
00169000 (4 KB)        rw-p (08:0a 3686422)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libMgcpProvider.so
0016a000 (4 KB)        rw-p (00:00 0)
0016b000 (100 KB)      r-xp (08:0a 3686423)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libStatMgr.so
00184000 (4 KB)        rw-p (08:0a 3686423)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libStatMgr.so
00185000 (168 KB)      r-xp (08:0a 3686425)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpOCMgr.so
001af000 (4 KB)        rw-p (08:0a 3686425)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpOCMgr.so
001b0000 (388 KB)      r-xp (08:0a 3686427)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libMsrMgr.so
00211000 (4 KB)        rw-p (08:0a 3686427)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libMsrMgr.so
00212000 (4 KB)        rw-p (00:00 0)
00213000 (8 KB)        r-xp (08:03 376848)   /lib/libdl-2.3.2.so
00215000 (4 KB)        rw-p (08:03 376848)   /lib/libdl-2.3.2.so
00216000 (4 KB)        r-xp (08:05 491643)   /usr/kerberos/lib/
libcom_err.so.3.0
00217000 (4 KB)        rw-p (08:05 491643)   /usr/kerberos/lib/
libcom_err.so.3.0
00218000 (1084 KB)     r-xp (08:0a 3686414)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCM.so
00327000 (8 KB)        rw-p (08:0a 3686414)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCM.so
00329000 (8 KB)        rw-p (00:00 0)
0032b000 (44 KB)       r-xp (08:0a 3686409)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMUtil.so
00336000 (4 KB)        rw-p (08:0a 3686409)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMUtil.so
00337000 (120 KB)      r-xp (08:0a 3686415)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libStreamMgr.so
00355000 (4 KB)        rw-p (08:0a 3686415)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libStreamMgr.so
00356000 (188 KB)      r-xp (08:0a 212998)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libBayTalk.so
00385000 (4 KB)        rw-p (08:0a 212998)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libBayTalk.so
00386000 (456 KB)      r-xp (08:0a 212994)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libEmsAgent.so
003f8000 (12 KB)       rw-p (08:0a 212994)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libEmsAgent.so
003fb000 (72 KB)       r-xp (08:03 376852)   /lib/libnsl-2.3.2.so
0040d000 (4 KB)        rw-p (08:03 376852)   /lib/libnsl-2.3.2.so
0040e000 (8 KB)        rw-p (00:00 0)
00410000 (4 KB)        r-xp (08:05 229940)   /usr/local/OraClnt9.2.0.8/
lib/libskgxp9.so
00411000 (4 KB)        ---p (08:05 229940)   /usr/local/OraClnt9.2.0.8/
lib/libskgxp9.so
00412000 (4 KB)        rw-p (08:05 229940)   /usr/local/OraClnt9.2.0.8/
lib/libskgxp9.so
00413000 (8 KB)        r-xp (08:05 229933)   /usr/local/OraClnt9.2.0.8/
lib/libwtc9.so
00415000 (4 KB)        rw-p (08:05 229933)   /usr/local/OraClnt9.2.0.8/
lib/libwtc9.so
00417000 (232 KB)      r-xp (08:0a 3686408)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBPUR.so
00451000 (4 KB)        rw-p (08:0a 3686408)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBPUR.so
00452000 (368 KB)      r-xp (08:0a 212996)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libUtil.so
004ae000 (4 KB)        rw-p (08:0a 212996)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libUtil.so
004af000 (4 KB)        rw-p (00:00 0)
004b0000 (200 KB)      r-xp (08:03 376912)   /lib/libssl.so.0.9.7a
004e2000 (12 KB)       rw-p (08:03 376912)   /lib/libssl.so.0.9.7a
004e5000 (36 KB)       r-xp (08:0a 1081368)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_Svc_Utils.so
004ee000 (4 KB)        rw-p (08:0a 1081368)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_Svc_Utils.so
004ef000 (60 KB)       r-xp (08:0a 1081359)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_IORTable.so
004fe000 (4 KB)        rw-p (08:0a 1081359)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_IORTable.so
004ff000 (56 KB)       r-xp (08:0a 1081350)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_BiDirGIOP.so
0050d000 (8 KB)        rw-p (08:0a 1081350)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_BiDirGIOP.so
0050f000 (32 KB)       r-xp (08:03 376929)   /lib/
libgcc_s-3.2.3-20040701.so.1
00517000 (4 KB)        rw-p (08:03 376929)   /lib/
libgcc_s-3.2.3-20040701.so.1
00519000 (80 KB)       r-xp (08:0a 3686416)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libVersionMgr.so
0052d000 (4 KB)        rw-p (08:0a 3686416)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libVersionMgr.so
00532000 (196 KB)      r-xp (08:0a 213006)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libGCS.so
00563000 (4 KB)        rw-p (08:0a 213006)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libGCS.so
00564000 (664 KB)      r-xp (08:0a 3686412)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpAinStackManager.so
0060a000 (4 KB)        rw-p (08:0a 3686412)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpAinStackManager.so
0060b000 (4 KB)        rw-p (00:00 0)
0060c000 (44 KB)       r-xp (08:03 376868)   /lib/
libnss_files-2.3.2.so
00617000 (4 KB)        rw-p (08:03 376868)   /lib/
libnss_files-2.3.2.so
00618000 (88 KB)       r-xp (08:0a 213000)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libEmsCommon.so
0062e000 (4 KB)        rw-p (08:0a 213000)   /Home1/rsinsp/NSP/
Common5.0.0/redhat80g/lib/libEmsCommon.so
0062f000 (4 KB)        rw-p (00:00 0)
00630000 (132 KB)      r-xp (08:03 131076)   /lib/tls/libm-2.3.2.so
00651000 (4 KB)        rw-p (08:03 131076)   /lib/tls/libm-2.3.2.so
00652000 (52 KB)       r-xp (08:03 131078)   /lib/tls/
libpthread-0.60.so
0065f000 (4 KB)        rw-p (08:03 131078)   /lib/tls/
libpthread-0.60.so
00660000 (8 KB)        rw-p (00:00 0)
00662000 (16 KB)       r-xp (08:03 376865)   /lib/libnss_dns-2.3.2.so
00666000 (4 KB)        rw-p (08:03 376865)   /lib/libnss_dns-2.3.2.so
0066e000 (60 KB)       r-xp (08:05 344207)   /usr/lib/libelf-0.89.so
0067d000 (4 KB)        rw-p (08:05 344207)   /usr/lib/libelf-0.89.so
00685000 (116 KB)      r-xp (08:0a 3686421)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMMessenger.so
006a2000 (8 KB)        rw-p (08:0a 3686421)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMMessenger.so
006a4000 (72 KB)       r-xp (08:05 491649)   /usr/kerberos/lib/
libgssapi_krb5.so.2.2
006b6000 (4 KB)        rw-p (08:05 491649)   /usr/kerberos/lib/
libgssapi_krb5.so.2.2
006b7000 (60 KB)       r-xp (08:05 491653)   /usr/kerberos/lib/
libk5crypto.so.3.0
006c6000 (4 KB)        rw-p (08:05 491653)   /usr/kerberos/lib/
libk5crypto.so.3.0
006c7000 (60 KB)       r-xp (08:03 376880)   /lib/libresolv-2.3.2.so
006d6000 (4 KB)        rw-p (08:03 376880)   /lib/libresolv-2.3.2.so
006d7000 (8 KB)        rw-p (00:00 0)
006e4000 (108 KB)      r-xp (08:0a 3686426)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libThresholdMgr.so
006ff000 (4 KB)        rw-p (08:0a 3686426)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libThresholdMgr.so
00700000 (416 KB)      r-xp (08:0a 589828)   /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/ss7stack/sigtran/lib/libBpMtp_lnx.so
00768000 (4 KB)        rw-p (08:0a 589828)   /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/ss7stack/sigtran/lib/libBpMtp_lnx.so
00769000 (4 KB)        rw-p (00:00 0)
0076a000 (48 KB)       r-xp (08:05 344246)   /usr/lib/libz.so.1.1.4
00776000 (8 KB)        rw-p (08:05 344246)   /usr/lib/libz.so.1.1.4
0077e000 (28 KB)       r-xp (08:0a 3686417)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMDbManager.so
00785000 (4 KB)        rw-p (08:0a 3686417)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMDbManager.so
00786000 (316 KB)      r-xp (08:0a 1081360)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_Messaging.so
007d5000 (28 KB)       rw-p (08:0a 1081360)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_Messaging.so
007dc000 (4 KB)        rw-p (00:00 0)
007dd000 (32 KB)       r-xp (08:03 131081)   /lib/tls/
librtkaio-2.3.2.so
007e5000 (8 KB)        rw-p (08:03 131081)   /lib/tls/
librtkaio-2.3.2.so
007e7000 (40 KB)       rw-p (00:00 0)
007f2000 (144 KB)      r-xp (08:0a 3686419)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libIvrProv.so
00816000 (4 KB)        rw-p (08:0a 3686419)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libIvrProv.so
00817000 (680 KB)      r-xp (08:0a 3686411)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpAinProvider.so
008c1000 (8 KB)        rw-p (08:0a 3686411)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBpAinProvider.so
008d6000 (84 KB)       r-xp (08:03 376834)   /lib/ld-2.3.2.so
008eb000 (4 KB)        rw-p (08:03 376834)   /lib/ld-2.3.2.so
0091c000 (196 KB)      r-xp (08:0a 3686410)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMMessages.so
0094d000 (4 KB)        rw-p (08:0a 3686410)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libCCMMessages.so
0094e000 (4 KB)        rw-p (00:00 0)
0094f000 (368 KB)      r-xp (08:05 491663)   /usr/kerberos/lib/
libkrb5.so.3.1
009ab000 (8 KB)        rw-p (08:05 491663)   /usr/kerberos/lib/
libkrb5.so.3.1
009c8000 (124 KB)      r-xp (08:0a 3686420)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBillingAgent.so
009e7000 (4 KB)        rw-p (08:0a 3686420)  /Home1/rsinsp/NSP/
CMM5.0.0/redhat80g/lib/libBillingAgent.so
009e8000 (516 KB)      r-xp (08:0a 1081367)  /Home1/rsinsp/NSP/
Common5.0.0/thirdParty/TAO/ACE/ACE_wrappers/ace/libTAO_Strategies.so
00a69000 (16 KB)       rw-p (08:0a 1081367)
...

read more »


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rainer Weikusat  
View profile  
 More options Oct 22, 9:41 pm
Newsgroups: comp.os.linux.development.system
From: Rainer Weikusat <rweiku...@mssgmbh.com>
Date: Thu, 22 Oct 2009 13:41:45 +0200
Local: Thurs, Oct 22 2009 9:41 pm
Subject: Re: which library is using /dev/zero

linux_bp <rishabh.g...@gmail.com> writes:
> My C++ application is running on Red Hat Enterprise Linux ES release
> 3. Our application is growing in size continuously. On taking a pmap
> of the process it shows lot of entries corresponding to /dev/zero
> which contributes the increase in process size. Is it because of some
> OS library or because of any thirdparty library. How can we find out
> what is contributing to lot of /dev/zero entries.

This is possibly some kind of 'heap growth': Mmapping /dev/zero was
the traditional way to allocate new (virtual) memory from the kernel.
You could use ltrace -CfiS to get a listing of all 'library' and system
calls done by the program and look for mmap using a file descriptor
which refers to /dev/zero. The hexnumber in the first column is the
value of the instruction pointer at the time of the call, ie the
memory address were the corresponding invocation instruction, eg,
call, was located in the running binary. This should enable you to
determine which of the 'running parts' of the program contained the
corresponding code by correlating it with the mmap output and to
locate the offending routine either with the help of a disassembler,
with gdb and a coredump or by attaching the debugger to the running
process and inspecting its memory.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Schwartz  
View profile  
 More options Oct 27, 8:34 am
Newsgroups: comp.os.linux.development.system
From: David Schwartz <dav...@webmaster.com>
Date: Mon, 26 Oct 2009 14:34:19 -0700 (PDT)
Local: Tues, Oct 27 2009 8:34 am
Subject: Re: which library is using /dev/zero
On Oct 21, 10:58 pm, linux_bp <rishabh.g...@gmail.com> wrote:

> My C++ application is running on Red Hat Enterprise Linux ES release
> 3. Our application is growing in size continuously. On taking a pmap
> of the process it shows lot of entries corresponding to /dev/zero
> which contributes the increase in process size. Is it because of some
> OS library or because of any thirdparty library. How can we find out
> what is contributing to lot of /dev/zero entries. We are observing
> this only in production and not in our lab systems.

My bet is it's glibc's 'malloc' implementation.

DS


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google