odd nnrpd memory usage

inn-workers at 2bb49e3f.mozone.net inn-workers at 2bb49e3f.mozone.net
Mon Jul 15 06:26:23 UTC 2002


On Sun, Jul 14, 2002 at 05:40:47PM -0700, inn-workers at 2bb49e3f.mozone.net wrote:
> Most of these are in the *binar* groups, the pattern of the 
> client appears to be XOVER->HEAD->BODY->BODY->BODY etc.  They
> usually start off very small, similar to the 5004 RSS sized one
> shown above, but then quickly grow up to 80-90megs in size. This
> mem usage appears quite similar to the timecaf+tradindexed method
> when I was using it a couple of weeks ago, however in that case,
> both the VSZ and RSS's were close to 80-90megs each.

Just following up to my own message, it appears that the bulk of
the memory consumption, under freebsd at least, is during the
LISTGROUP and possibly the XOVER (although i havent verified this).

I inserted a few debug statements that provided a diff of the 
maxrss size based off of getrusage() at several parts in the
CMDgroup() function.  The results follow:

-> LISTGROUP alt.binaries.vcd
(before OVgroupstats()) memory usage diff: 13476 kb (total = 13476 kb)
(after OVgroupstats()) memory usage diff: 0 kb (total = 13476 kb)
(after PERMmatch()) memory usage diff: 0 kb (total = 13476 kb)
(after ARTclose()) memory usage diff: 0 kb (total = 13476 kb)
(after GRPreport()) memory usage diff: 0 kb (total = 13476 kb)
(after group command's OVctl | COPY ()) memory usage diff: 0 kb (total = 13476 kb)
(before OVgroupstats()) memory usage diff: 0 kb (total = 13476 kb)
(after OVgroupstats()) memory usage diff: 0 kb (total = 13476 kb)
(after PERMmatch()) memory usage diff: 0 kb (total = 13476 kb)
(after ARTclose()) memory usage diff: 0 kb (total = 13476 kb)
(after GRPreport()) memory usage diff: 0 kb (total = 13476 kb)
(after listgroup OVopensearch()) memory usage diff: 1356 kb (total = 14832 kb)
(after iteration OVsearch()) memory usage diff: 0 kb (total = 14832 kb)
(after iteration OVsearch()) memory usage diff: 0 kb (total = 14832 kb)
(after iteration OVsearch()) memory usage diff: 0 kb (total = 14832 kb)
[more of these follow]...
(after iteration OVsearch()) memory usage diff: 168 kb (total = 15000 kb)
[more of the 0 kb diff follow]...
[occasional ones with higher mem usage ones follow]
[more of the 0 kb diff follow]...  etc
...
...
...
(after iteration OVsearch()) memory usage diff: 0 kb (total = 108504 kb)
(after iteration OVsearch()) memory usage diff: 0 kb (total = 108504 kb)
(after OVclosesearch()) memory usage diff: 0 kb (total = 108504 kb)
(after listgroup command's OVctl | COPY ()) memory usage diff: 0 kb (total = 108504 kb)



More information about the inn-workers mailing list