Article View: news.software.nntp
Article #62345Re: ballooning innfeed memory usage
From: Russ Allbery
Date: Wed, 18 Dec 2002 20:21
Date: Wed, 18 Dec 2002 20:21
30 lines
2208 bytes
2208 bytes
Ben Rosengart <br+nsn@panix.com> writes:
> Over the past month or so, I've seen a strange phenomenon with innfeed
> on Panix's transit server. The symptom is that it rather abruptly
> begins to use quite a lot of memory, as in upwards of a gigabyte. This
> tends to hang the machine that it's running on. Sometimes when it comes
> back up, it hangs again almost immediately. The theory around here is
> that this happens when a bunch of large articles come in at the same
> time.
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. Although that may not be the case if you're feeding out of
a non-wireformat spool.
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.
What's your maximum article size?
--
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:
<ylisxr5b9s.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>Show Full Headers
Complete Article Headers
Message-ID: <ylisxr5b9s.fsf@windlord.stanford.edu> Subject: Re: ballooning innfeed memory usage Date: Wed, 18 Dec 2002 12:21:03 -0800 From: Russ Allbery <rra@stanford.edu> References: <slrnb01jqe.rmv.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: 29 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1040242863 17041 171.64.13.23 (18 Dec 2002 20:21:03 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:HVhhfn30IldqgRjOwi4nuTDpZUA=