Article View: news.software.nntp
Article #62344Re: ballooning innfeed memory usage
From: Thomas
Date: Wed, 18 Dec 2002 20:09
Date: Wed, 18 Dec 2002 20:09
50 lines
3340 bytes
3340 bytes
Ben Rosengart wrote: > 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. I'm thinking in the direction of yEnc'ed articles. I saw an assumption about line length someplace, but don't know if it affects what is going on. But read on. In my case I get "couldn't mmap article" errors. I flush the innfeeds on a regular basis now, and run multiple innfeeds (using the same config file, but different spool directories and status files). The innfeed that feeds to reader machines stay small, even though it outputs the most bytes. But the average queue is nearly empty. Don't forget to adjust the initial connections to 0 if you set up multiple innfeeds with a single config file - or you waste a connection for every innfeed that will never see articles. > I've tweaked host-queue-highwater down to 30 from 50 in an attempt > to moderate the memory usage, but it hasn't helped. We are feeding > about two dozen peers. I can provide more configuration details > on request. You could also try adjusting what I think is called 'queue highwater' - the value that is 200 by default. In any case, it seems to be some peer(s?) causing the memory explosion. Non of the above really helped - but these things work as a workaround as in my case just the single innfeed hangs. I also tried setting 'drop-deferred' but that did't help either. And not using mmap in the config file also doesn't seem to have any effect (it still complains 'can't mmap' - so I assume that config option is broken somehwo. > Has anyone else seen this phenomenon? Any suggestions as to what to > do about it? Thanks. Seen something similar (can't mmap) and don't have a solution. Wish I had one. Any other suggestions? Thomas
Technical Details
Message-ID:
<cC4M9.73$T41.394@amstwist00>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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mailReferences:
<slrnb01jqe.rmv.br@panix5.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <cC4M9.73$T41.394@amstwist00> Subject: Re: ballooning innfeed memory usage Date: Wed, 18 Dec 2002 21:09:43 +0100 From: Thomas <zak@spam.invalid> 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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <slrnb01jqe.rmv.br@panix5.panix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 49 NNTP-Posting-Host: 24.132.6.5 X-Complaints-To: abuse@chello.nl X-Trace: amstwist00 1040242184 24.132.6.5 (Wed, 18 Dec 2002 21:09:44 MET) NNTP-Posting-Date: Wed, 18 Dec 2002 21:09:44 MET