Article View: news.software.nntp
Article #24239Re: Innfeed error..
From: Frank Durda IV
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
74 lines
4673 bytes
4673 bytes
Department of Complaints, Insults, and Verbal Abuse wrote: > <boggle> You gots a problem. Your innd should not be continuing to > increase in size and certainly shouldn't be reaching this size after any > length of time, especially not after such a short time. Both innd and > innfeed should be able to run weeks without attention. This is a "it has always done this" problem for us: 1.4 stock did this. 1.4 unoff 4 stock did this. 1.4 unoff with provided malloc did this. 1.5.1 stock which we did run did this with or without provide malloc. 1.5.1 we run now has only a few patches applied, mostly local to avoid injecting duplicate article IDs into the dbz database, how articles are stored, fix for stupid handling of unexpected symlinks, a couple of security mods, etc. None of these mods allocate or release memory, nor do they prevent other code from releasing memory. We aren't running any pre-commit/cache patches since we didn't see much in the way of improvement on this platform. This version of 1.5.1 also grows to huge proportions if left on its own. Platform: DEC OSF 4.0B Patchkit #4 (except item #99) Dual Alpha 4/275, 512M RAM 4GB history partition, 84GB for articles. This is a 64bit system, so keep that in mind. Data structures will be bigger. Our history file is >675 Meg, and the pag file is 193Meg (right now). Average retention is 15 days, minimum database keep is 9 days. Anyway, the fact that the stock code grows too demonstrates the problem comes with INND out of the box, not from something we added. On initialization, INND grows immediately to 230Meg VSS, 198Meg RSZ (both these numbers seem normal when compared to the history.pag size) and grows from there over time, usually about 150Meg VSS/day. The growth rate is directly proportional to the volume of cancels for a given day, and the source of the cancels (very predictable). Days with extremely high volumes of auto-bot canceling have high memory leak rates. We have always suspected there is a race condition for a cancel arriving at the same time of the article being cancelled causing a memory leak, but have never sat down and waded through the core dumps. Circumstantially we believe this, because when we replaced many incoming feeds with a single feed from a diablo box, the INND memory leak rate went *up*, probably because we modified diablo to send cancels in a separate batch stream with higher priority than other articles, thus increasing the chances of the cancels beating or arriving at the same time as the article being cancelled. (The purpose of the mod was to get the cancels there first so that less of INNDs time would be wasted loading and later deleting doomed articles. You can find uncredited bits of this change in diablo version 10 and up.) In any event, and back to the original point, it seems unreasonable that innfeed won't work if innd is restarted from cron. That is what I am looking for a fix to. Even if I only restart INND once every two weeks (some day when most of its memory leaks are plugged), I still can't automate this because of the bug in innfeed. Innfeed will work correctly if INND is started manually (sh /usr/local/etc/rc.news), or as part of the rc scripts run at boot. This may be yet-another broken DEC OSF thing (there are soooo many, like breaking diff so that it doesn't have a -a option anymore so RCS doesn't work, breaking du, uucico, etc) in the environment cron tasks end up with, but perhaps someone else has run into this oddity on a different platform. Frank Durda IV - only these addresses work:| <uhclem.killspam%nemesis.lonestar.org> | or <uhclem.killspam%uhclem%rwsystr.nkn.net | These Anti-spam addresses expire Dec. 31th |
Technical Details
Message-ID:
<6612E89BB8F82F92.D79352AEC92A89F5.73F771306FE4DCB9@library-proxy.airnews.net>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!not-for-mailReferences:
<348C176C.36F81C5E@wcg.net> <8A1D9C9037100F69.14E2AF4D585C5FFC.43558A1E699BD917@library-proxy.airnews.net> <Pine.BSF.3.96.971210195755.29155F-100000@coredump.int.tele.dk>Show Full Headers
Complete Article Headers
Message-ID: <6612E89BB8F82F92.D79352AEC92A89F5.73F771306FE4DCB9@library-proxy.airnews.net> Subject: Re: Innfeed error.. Date: Wed, 10 Dec 1997 00:00:00 +0000 From: Frank Durda IV <uhclem.killspam@nemesis.lonestar.org> References: <348C176C.36F81C5E@wcg.net> <8A1D9C9037100F69.14E2AF4D585C5FFC.43558A1E699BD917@library-proxy.airnews.net> <Pine.BSF.3.96.971210195755.29155F-100000@coredump.int.tele.dk> 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!not-for-mail X-Deja-AN: 297031845 X-Orig-Message-ID: <348F0DFD.4A7B7C1D@nemesis.lonestar.org> NNTP-Posting-Time: Wed Dec 10 15:46:57 1997 Organization: The Big Blue Box B NNTP-Proxy-Relay: library.airnews.net Newsgroups: news.software.nntp