🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16422

Re: nnrpd footprint

#16422
From: Clayton O'Neill
Date: Thu, 27 Mar 1997 00:00
55 lines
3291 bytes
On Thu, 27 Mar 97 11:44:48 GMT, Ragnar Lonn <prl@algonet.se> wrote:
>Yeah, to get an idea of how much memory an nnrpd process actually uses you 
>have to check with e.g top or vmstat to see much of your physical and swap 
>memory is used and compare this to what you saw before you installed
>the patch. You could also possibly test it by having a script check available
>physical memory and used swap with short intervals and compare the
>difference after a couple of new nnrpds have been started (or start a bunch
>of them manually of course). If the system isn't doing much but run nnrpds it 
>might work.
>
>Does anyone know if there is a *good* way of seeing how much of a process size
>consists of MMAP'ed data in Solaris?

/usr/proc/bin/pmap <pid>  gives this kind of output.  I'm typically seeing
only about 250-350k of non-shared memory usage.

20684:  /usr/local/news/etc/in.nnrpd
00010000   76K read/exec          /usr/local/news/etc/in.nnrpd
00032000   12K read/write/exec    /usr/local/news/etc/in.nnrpd
00035000   56K read/write/exec
0003B000   32K     [ heap ]
DF300000 2172K read/write/exec/shared
DF540000   84K read/shared        dev:  85,30  ino: 15255626
DF560000    8K read/exec          /usr/lib/nss_dns.so.1
DF571000    4K read/write/exec    /usr/lib/nss_dns.so.1
DF580000   16K read/exec          /usr/lib/nss_files.so.1
DF593000    4K read/write/exec    /usr/lib/nss_files.so.1
DF5A0000   28K read/exec          /usr/lib/libw.so.1
DF5B6000    4K read/write/exec    /usr/lib/libw.so.1
DF5C0000   12K read/exec          /usr/lib/libmp.so.1
DF5D2000    4K read/write/exec    /usr/lib/libmp.so.1
DF5E0000   12K read/exec          /usr/lib/libintl.so.1
DF5F2000    4K read/write/exec    /usr/lib/libintl.so.1
DF600000  508K read/exec          /usr/lib/libc.so.1
DF68E000   32K read/write/exec    /usr/lib/libc.so.1
DF696000    8K read/write/exec
DF6B0000   44K read/exec          /usr/lib/libresolv.so.2
DF6CA000    8K read/write/exec    /usr/lib/libresolv.so.2
DF6CC000   12K read/write/exec
DF6E0000   52K read/exec          /usr/lib/libelf.so.1
DF6FC000    8K read/write/exec    /usr/lib/libelf.so.1
DF700000  388K read/exec          /usr/lib/libnsl.so.1
DF770000   36K read/write/exec    /usr/lib/libnsl.so.1
DF779000   32K read/write/exec
DF790000   28K read/exec          /usr/lib/libsocket.so.1
DF7A6000    8K read/write/exec    /usr/lib/libsocket.so.1
DF7B0000    4K read/exec/shared   /usr/lib/libdl.so.1
DF7C0000    4K read/write/exec
DF7D0000  104K read/exec          /usr/lib/ld.so.1
DF7F9000    8K read/write/exec    /usr/lib/ld.so.1
DFFF7000   36K read/write/exec
DFFF7000   36K     [ stack ]

Technical Details
Message-ID: <slrn5jl1sa.es8.coneill@blah.erols.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5h8hsd$m3s$1@tahiti.netreach.net> <5ha7v2$38j$1@darla.visi.com> <5hdmim$55l@epimetheus.algonet.se>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5jl1sa.es8.coneill@blah.erols.com>
Subject: Re: nnrpd footprint
Date: Thu, 27 Mar 1997 00:00:00 +0000
From: coneill@oneill.net (Clayton O'Neill)
References: <5h8hsd$m3s$1@tahiti.netreach.net> <5ha7v2$38j$1@darla.visi.com> <5hdmim$55l@epimetheus.algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 228739660
Organization: Erol's Internet Services
Newsgroups: news.software.nntp