Thread View: news.software.nntp
9 messages
9 total messages
Started by Dave
Tue, 25 Mar 1997 00:00
nnrpd footprint
Author: Dave
Date: Tue, 25 Mar 1997 00:00
Date: Tue, 25 Mar 1997 00:00
14 lines
720 bytes
720 bytes
Just got done install Matt Dillon's patch to use mmap to reduce the size of nnrpd. The footprint has dropped from 2500k to 2000k, but that's still rather large. Anybody have other ideas/ working on this? Thanks Dave
Re: nnrpd footprint
Author: Clayton O'Neill
Date: Thu, 27 Mar 1997 00:00
Date: Thu, 27 Mar 1997 00:00
55 lines
3291 bytes
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 ]
Re: nnrpd footprint
Author: Darrell Fuhriman
Date: Thu, 27 Mar 1997 00:00
Date: Thu, 27 Mar 1997 00:00
32 lines
1829 bytes
1829 bytes
coneill@oneill.net (Clayton O'Neill) writes: > >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 14237: /home/news/bin/nnrpd -s 00010000 88K read/exec /home/news/bin/nnrpd 00034000 8K read/write/exec /home/news/bin/nnrpd 00036000 26712K read/write/exec 0003E000 26680K [ heap ] EF400000 800K read/shared dev: 32,7 ino: 245470 EF500000 16K read/exec /usr/lib/nss_files.so.1 OK, now we know something is going on. Why is my heap 26 Megs? I am running the MMAP overview and MMAP active patches.. are you also Clayton? Darrell
Re: nnrpd footprint
Author: Ragnar Lonn
Date: Thu, 27 Mar 1997 00:00
Date: Thu, 27 Mar 1997 00:00
28 lines
1629 bytes
1629 bytes
In article <5ha7v2$38j$1@darla.visi.com>, Mike Horwath <drechsau@visi.com> wrote: > >: The footprint has dropped from 2500k to 2000k, but that's still rather >: large. Anybody have other ideas/ working on this? > >If using solaris, remember, ps and top both report total usage, >including the mapped shared libraries. > 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? Regards, /Ragnar, Algonet
Re: nnrpd footprint
Author: Clayton O'Neill
Date: Fri, 28 Mar 1997 00:00
Date: Fri, 28 Mar 1997 00:00
29 lines
2031 bytes
2031 bytes
On 27 Mar 1997 11:01:36 -0800, <darrell@grumblesmurf.net> wrote: >14237: /home/news/bin/nnrpd -s >00010000 88K read/exec /home/news/bin/nnrpd >00034000 8K read/write/exec /home/news/bin/nnrpd >00036000 26712K read/write/exec >0003E000 26680K [ heap ] >EF400000 800K read/shared dev: 32,7 ino: 245470 >EF500000 16K read/exec /usr/lib/nss_files.so.1 > >OK, now we know something is going on. Why is my heap 26 Megs? > >I am running the MMAP overview and MMAP active patches.. are you >also Clayton? Fear. I am running MMAP'ed overview and articles (patches I wrote), and normal shared active. The only explanation I can think of is that you've got a memory leak in either the MMAP overview patch or MMAP article patches you're running. How common is this, and how long as the nnrpd been running? If I were you I'd add a line into nnrpd to syslog when message id retrievals are occuring and see if there is a correlation between nnrpd's that are going msg-id retrieval and those that are huge. One last thought. If nnrpd is doing an dbzincore() and you don't have MMAP defined in DBZCFLAGS, then I would expect to see this behavior. This is the case with 1.4unoff4 at least.
Re: nnrpd footprint
Author: Darrell Fuhriman
Date: Fri, 28 Mar 1997 00:00
Date: Fri, 28 Mar 1997 00:00
31 lines
1954 bytes
1954 bytes
coneill@oneill.net (Clayton O'Neill) writes: > On 27 Mar 1997 11:01:36 -0800, <darrell@grumblesmurf.net> wrote: > >OK, now we know something is going on. Why is my heap 26 Megs? > > > >I am running the MMAP overview and MMAP active patches.. are you > >also Clayton? > > > Fear. I am running MMAP'ed overview and articles (patches I wrote), and > normal shared active. The only explanation I can think of is that you've > got a memory leak in either the MMAP overview patch or MMAP article patches > you're running. How common is this, and how long as the nnrpd been running? They all get this size immediately on starting up -- even before a single command has been sent. > One last thought. If nnrpd is doing an dbzincore() and you don't have MMAP > defined in DBZCFLAGS, then I would expect to see this behavior. This is the > case with 1.4unoff4 at least. Hmm.. I have NNRP_DBZINCORE_DELAY set to -1, and just for the heck of it I rebuilt innd and nnrpd with -DMMAP in DBZCFLAGS, and it's the same thing. Guess it's time to fire up gdb and see what I can see, eh? Darrell Fuhriman
Re: nnrpd footprint (Solved!)
Author: Darrell Fuhriman
Date: Fri, 28 Mar 1997 00:00
Date: Fri, 28 Mar 1997 00:00
31 lines
1558 bytes
1558 bytes
coneill@oneill.net (Clayton O'Neill) writes: > Fear. I am running MMAP'ed overview and articles (patches I wrote), and Ah HA! I've figured it out. It has nothing to do with your patches... in fact, its is the maxgroups patch, by hj@globecom.net, which was sent out in Nov. 96. The patch allows you to restrict the number of simultaneous connections in a given access list. It has two file formats: somedomain:10 address1:RP:::*:somedomain address2:RP:::*:somedomain address3:RP:::*:number If you use the first style at all, the memory usage is 26M, using the second style usage is normal. Obviously, the patch needs some fixing.. I've CC'd the author on this. Darrell Fuhriman
Re: nnrpd footprint
Author: Jeff Garzik
Date: Sun, 30 Mar 1997 00:00
Date: Sun, 30 Mar 1997 00:00
16 lines
1024 bytes
1024 bytes
Dave wrote: > Just got done install Matt Dillon's patch to use mmap to reduce the > size of nnrpd. > > The footprint has dropped from 2500k to 2000k, but that's still rather > large. Anybody have other ideas/ working on this? Use top or a similar tool to look at the amount of shared memory, not just the RSS or VM footprint. Sure the footprint might be 2MB, but if 1.6MB of that is shared among all nnrpd processes, who cares? :) Jeff
Re: nnrpd footprint
Author: John Payne
Date: Wed, 02 Apr 1997 00:00
Date: Wed, 02 Apr 1997 00:00
9 lines
920 bytes
920 bytes
Is there a shared active patch for inn 1.5.1?
--
John Payne | VM: JOHN at RTP
IBM Global Services NS | email: john@raleigh.ibm.com
OpenNet Services (EMEA) | Intranet http://w3.irc.ibm.com/jpayne
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads