Article View: news.software.nntp
Article #62349Re: ballooning innfeed memory usage
From: Russ Allbery
Date: Wed, 18 Dec 2002 22:17
Date: Wed, 18 Dec 2002 22:17
37 lines
2588 bytes
2588 bytes
Ben Rosengart <br@panix.com> writes:
> Russ Allbery wrote:
>> Usually this is memory-mapped memory and therefore isn't actually
>> "real" in the sense that it doesn't consume your swap the way that
>> unbacked memory would.
> It does show up in the SIZE and especially VSZ columns of "ps", for what
> it's worth.
Yeah, it probably will. What you really want is something like the
Solaris pmap tool that will tell you exactly how much of a process's
address space is shared versus unshared.
>> In any event, the tuning that I did to prevent this was to feed all
>> binaries through the same innfeed with the setting:
>> max-queue-size: 5
>> so that it wouldn't hold a bunch of large binaries open all the time.
> I will try that, thanks. What exactly does this parameter control?
It controls the number of articles that innfeed will read into memory at a
time to send to a remote peer. The default innfeed.conf file sets it to
25, which I found was a bit large for binary feeds. If each feed is
sending different articles, that can mean 25 * max art size * no of feeds
in memory usage. I cut it down to 5 for the innfeed process that sends
binaries, since really with binaries the overhead of doing fewer CHECKs at
a time is much less, relatively speaking.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylof7j3ral.fsf@windlord.stanford.edu>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<slrnb01jqe.rmv.br@panix5.panix.com> <ylisxr5b9s.fsf@windlord.stanford.edu> <slrnb01sf7.9lo.br@panix5.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <ylof7j3ral.fsf@windlord.stanford.edu> Subject: Re: ballooning innfeed memory usage Date: Wed, 18 Dec 2002 14:17:54 -0800 From: Russ Allbery <rra@stanford.edu> References: <slrnb01jqe.rmv.br@panix5.panix.com> <ylisxr5b9s.fsf@windlord.stanford.edu> <slrnb01sf7.9lo.br@panix5.panix.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 36 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1040249874 17041 171.64.13.23 (18 Dec 2002 22:17:54 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:OMv+4XCgArJMsnI+/8w59aS/ciY=