Thread View: news.software.nntp
27 messages
27 total messages
Started by Jeff Mohler
Mon, 08 Dec 1997 00:00
Innfeed error..
Author: Jeff Mohler
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
15 lines
747 bytes
747 bytes
Can anyone point me to the cause of this error: --- Dec 8 09:54:12 news innfeed[13457]: signal failed: Operation now in progress Dec 8 09:54:17 news /kernel: pid 13457 (innfeed), uid 8: exited on signal 6 (co re dumped) --- This is on FreeBSD 2.2.
Re: Innfeed error..
Author: Timothy Miller
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
19 lines
1223 bytes
1223 bytes
kwl@shell.monmouth.com (Ken Leland) writes: > I've got two innfeed process running on BSD/OS3.0. One asymtotes to > about 20Meg (the fast peers grouping) and the other (the slow peers > grouping) to 40 Megs. They reach their quiescent points in about 1.5 days. I've got three-- peers, customers, and reader machines. They peak at 23Mb, 17Mb, and 13Mb respectively. > So, I don't find it growing without bounds, but slim it aint. But with 2Gb RAM, one thing I can afford to throw around is memory... -- Cerebus <tmill06@ibm.net>
Re: Innfeed error..
Author: Dale Ghent
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
23 lines
1338 bytes
1338 bytes
Jeremy wrote:
>
> Marc G. Fournier <marc@acadiau.ca> wrote:
>
> > Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current
> > and is pretty much the most stable (and fastest) to date...
>
> It still grows without bound, though. It can reach over 20 megs
> in just a couple of hours. Not disasterous, but I'd hesitate to
> unleash that on everyone...
I havnt run into this... I'm running 0.10.1.7 on IRIX 6.4, SunOS 4.1.4
and FreeBSD 2.2.1 machines. What are you running?
-Dale G.
--
Dale Ghent daleg @ digex.net
NetworkNews Administrator DIGEX, Inc.
http://www.digex.net Beltsville, MD
I speak for myself
Re: Innfeed error..
Author: Jeff Mohler
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
10 lines
919 bytes
919 bytes
> Jeremy wrote: > > Marc G. Fournier <marc@acadiau.ca> wrote: > > > Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current > > > and is pretty much the most stable (and fastest) to date... That fixed it folks..many thanks.
Re: Innfeed error..
Author: Marc G. Fournier
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
24 lines
1224 bytes
1224 bytes
In article <348C176C.36F81C5E@wcg.net>, Jeff Mohler <gemohler@wcg.net> writes: > Can anyone point me to the cause of this error: > > --- > Dec 8 09:54:12 news innfeed[13457]: signal failed: Operation now in > progress > Dec 8 09:54:17 news /kernel: pid 13457 (innfeed), uid 8: exited on > signal 6 (co > re dumped) > --- > > This is on FreeBSD 2.2. What version of innfeed? You might want to grab the newest version that is available at: ftp.hub.org/pub/innfeed It is included as part of 1.8current, but there is no ETA on when that is to be released...
Re: Innfeed error..
Author: Jeff Mohler
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
26 lines
1156 bytes
1156 bytes
Marc G. Fournier wrote: > In article <348C176C.36F81C5E@wcg.net>, > Jeff Mohler <gemohler@wcg.net> writes: > > Can anyone point me to the cause of this error: > > > > --- > > Dec 8 09:54:12 news innfeed[13457]: signal failed: Operation now in > > progress > > Dec 8 09:54:17 news /kernel: pid 13457 (innfeed), uid 8: exited on > > signal 6 (co > > re dumped) > > --- > > > > This is on FreeBSD 2.2. > > What version of innfeed? You might want to grab the newest version > that is available at: > > ftp.hub.org/pub/innfeed It is 0.10.1 at the moment.
Re: Innfeed error..
Author: Jeremy
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
28 lines
1684 bytes
1684 bytes
Ken Leland <kwl@shell.monmouth.com> wrote: > I've got two innfeed process running on BSD/OS3.0. One asymtotes to > about 20Meg (the fast peers grouping) and the other (the slow peers > grouping) to 40 Megs. They reach their quiescent points in about 1.5 > days. > > So, I don't find it growing without bounds, but slim it aint. That would look like "without bounds" to me, as I wouldn't let it get much larger. :) Before I began restarting it every couple of hours, I would see it hit about 25 megs before I would reload newsfeeds manually. If I let it get any larger I'd be in danger of entering SwapLand when expire came along. > Fortunately, I just saved about 50 Megs of innd memory with the Garzik > pre-commit patch, not to mention a near factor of two decrease in inbound > traffic (yikes). I hope there is going to be a pre-commit cache as a > stock feature of INN1.8! Pre-commit is very cool. -- Jeremy | jeremy@exit109.com "Everything you think you know is wrong." --Jack Chalker
Re: Innfeed error..
Author: Marc G. Fournier
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
31 lines
1538 bytes
1538 bytes
In article <348C3AAC.F5346B92@wcg.net>, Jeff Mohler <gemohler@wcg.net> writes: > Marc G. Fournier wrote: > >> In article <348C176C.36F81C5E@wcg.net>, >> Jeff Mohler <gemohler@wcg.net> writes: >> > Can anyone point me to the cause of this error: >> > >> > --- >> > Dec 8 09:54:12 news innfeed[13457]: signal failed: Operation now in >> > progress >> > Dec 8 09:54:17 news /kernel: pid 13457 (innfeed), uid 8: exited on >> > signal 6 (co >> > re dumped) >> > --- >> > >> > This is on FreeBSD 2.2. >> >> What version of innfeed? You might want to grab the newest version >> that is available at: >> >> ftp.hub.org/pub/innfeed > > It is 0.10.1 at the moment. Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current and is pretty much the most stable (and fastest) to date...
Re: Innfeed error..
Author: Ken Leland
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
32 lines
1788 bytes
1788 bytes
In article <348C59C9.41C6@digex.net>, Dale Ghent <daleg@digex.net> wrote: >Jeremy wrote: >> >> Marc G. Fournier <marc@acadiau.ca> wrote: >> >> > Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current >> > and is pretty much the most stable (and fastest) to date... >> >> It still grows without bound, though. It can reach over 20 megs >> in just a couple of hours. Not disasterous, but I'd hesitate to >> unleash that on everyone... > >I havnt run into this... I'm running 0.10.1.7 on IRIX 6.4, SunOS 4.1.4 >and FreeBSD 2.2.1 machines. What are you running? > I've got two innfeed process running on BSD/OS3.0. One asymtotes to about 20Meg (the fast peers grouping) and the other (the slow peers grouping) to 40 Megs. They reach their quiescent points in about 1.5 days. So, I don't find it growing without bounds, but slim it aint. Fortunately, I just saved about 50 Megs of innd memory with the Garzik pre-commit patch, not to mention a near factor of two decrease in inbound traffic (yikes). I hope there is going to be a pre-commit cache as a stock feature of INN1.8! Ken Leland Monmouth Internet
Re: Innfeed error..
Author: Jeremy
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
16 lines
1144 bytes
1144 bytes
Marc G. Fournier <marc@acadiau.ca> wrote:
> Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current
> and is pretty much the most stable (and fastest) to date...
It still grows without bound, though. It can reach over 20 megs
in just a couple of hours. Not disasterous, but I'd hesitate to
unleash that on everyone...
--
Jeremy | jeremy@exit109.com
"If it's not real, WHY DOES IT TAKE UP DISK SPACE?" --bev.
net.subculture.usenet
Re: Innfeed error..
Author: coneill
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
16 lines
1428 bytes
1428 bytes
kwl@shell.monmouth.com (Ken Leland) writes: > I've got two innfeed process running on BSD/OS3.0. One asymtotes to > about 20Meg (the fast peers grouping) and the other (the slow peers > grouping) to 40 Megs. They reach their quiescent points in about 1.5 days. > > So, I don't find it growing without bounds, but slim it aint. > > Fortunately, I just saved about 50 Megs of innd memory with the Garzik > pre-commit patch, not to mention a near factor of two decrease in inbound > traffic (yikes). I hope there is going to be a pre-commit cache as a > stock feature of INN1.8! I hope to get a pre-commit and post-commit cache in 1.8
Re: Innfeed error..
Author: Jeff Garzik
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
29 lines
1869 bytes
1869 bytes
Jeremy wrote: > Marc G. Fournier <marc@acadiau.ca> wrote: > > Upgrade... innfeed-0.10.1.7.tar.gz is what is included with 1.8current > > and is pretty much the most stable (and fastest) to date... > It still grows without bound, though. It can reach over 20 megs > in just a couple of hours. Not disasterous, but I'd hesitate to > unleash that on everyone... To Jeremy and all, innfeed pulls an article into memory when it issues a CHECK for that article. Given that, think about what happens when you have a bunch of peers, all of which have different outstanding-CHECK articles in memory. It's not a problem for fast peers, one copy of the article resides in VM for each of N peers. Efficient. But when you have slower peers pulling older articles off the disk, innfeed memory will balloon. The best thing to do is keep your max-queue-size low (25 or 35 is a good number), and run multiple copies of innfeed to separate peers into groups: Fast peers, peers without backlog, peers with backlog, ... -- Jeff Garzik Typhoon, Cyclone, Diablo, and INN Spinne USENET News Service Fast and efficient news feeds http://www.spinne.com/usenet/ News tuning and consulting
Re: Innfeed error..
Author: Department of Complaints, Insult...
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
42 lines
2668 bytes
2668 bytes
On Mon, 8 Dec 1997, Jeff Garzik wrote:
> > It still grows without bound, though. It can reach over 20 megs
> > in just a couple of hours.
>
> The best thing to do is keep your max-queue-size low (25 or 35 is a good
> number),
You call 25 to 35 *low*? <boggle> Here I've been typically issuing
no more than 5 CHECKs at a time, 3 to fast peers, 1 to Diablo sites or a
non-streaming IHAVE to INN peers for articles above a few k in size, just
to keep the number of wasted duplicate rejects down...
If you split feeds by size, you can tune the number of CHECKs you give
for large articles to be small, meaning less memory usage for innfeed
(fewer articles simultaneously being handled), reducing rejects caused by
latency from the time of CHECK to article transfer, and keeping the large
articles from holding back the smaller ones. Everybody wins.
Of course this means you would need to open far more connections to
the sites you feed. For those sites (*ahem* such as yours) which limit me
to four incoming connections, I either need to throw away your backlogs,
or up the number of CHECKs I gave at a time to (in your case) 25, and
still I get less than one article to you per second. I hate sucky
netwerkz.
Of the six innfeed processes we're running right now, five of them
(handling articles no larger than 5k) are between 1,5M and 4M size, while
the single innfeed handling a few non-streaming feeds of large articles is
at the moment around 14M, but has been known to get significantly larger.
Note that if you use the no-backlog: feature of innfeed-0.10.1.6 and
prior, you need to apply a simple patch or you will see memory bloat from
a known memory leek. This is fixed in 0.10.1.7, although there is a
simple one-line fix needed for host.c to get it to compile properly.
Barry Bouwsma, garlic eater
Re: Innfeed error..
Author: Jeremy
Date: Mon, 08 Dec 1997 00:00
Date: Mon, 08 Dec 1997 00:00
34 lines
1828 bytes
1828 bytes
Jeff Garzik <jeff.garzik@spinne.com> wrote:
> Given that, think about what happens when you have a bunch of peers, all
> of which have different outstanding-CHECK articles in memory.
>
> It's not a problem for fast peers, one copy of the article resides in VM
> for each of N peers. Efficient. But when you have slower peers pulling
> older articles off the disk, innfeed memory will balloon.
>
> The best thing to do is keep your max-queue-size low (25 or 35 is a good
> number), and run multiple copies of innfeed to separate peers into
> groups: Fast peers, peers without backlog, peers with backlog, ...
My innfeed.conf contains:
max-queue-size: 25
And right now, top tells me:
6482 news 2 8 15M 13M sleep 13:13 8.15% 8.15% innfeed
That innfeed process had been running just under two hours (I reload
newsfeeds from cron every two hours to keep innfeed's memory use
under control).
Barry told me there was a patch that addressed this, but I couldn't
find it...
In reply to the other post, this is BSDI 3.0.
--
Jeremy | jeremy@exit109.com
"Bunch of savages in this town!" --Dante ("Clerks")
Re: Innfeed error..
Author: Jesper Skriver
Date: Tue, 09 Dec 1997 00:00
Date: Tue, 09 Dec 1997 00:00
23 lines
1292 bytes
1292 bytes
Jeremy <jeremy@exit109.com> writes: >That innfeed process had been running just under two hours (I reload >newsfeeds from cron every two hours to keep innfeed's memory use >under control). Wouldn't a ctlinnd flush innfeed! or similar do this?, it sure would be faster than to reload the newsfeeds file. >Barry told me there was a patch that addressed this, but I couldn't >find it... I believe we (Barry's hacking around here) are running stock 0.10.1.7 -- Jesper Skriver (JS249-RIPE), Network manager Tele Danmark Internet (TDI1-RIPE) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone bind them.
Re: Innfeed error..
Author: Brian Tao
Date: Tue, 09 Dec 1997 00:00
Date: Tue, 09 Dec 1997 00:00
18 lines
1401 bytes
1401 bytes
In article <348c52d6.0@131.162.2.91>, Marc G. Fournier <marc@acadiau.ca> wrote:
>
>Upgrade... innfeed-0.10.1.7.tar.gz is what is included with
>1.8current and is pretty much the most stable (and fastest) to
>date...
Is there a "Care And (News) Feeding with Innfeed" FAQ somewhere?
I think there are a lot of performance tips that may not be
immediately obvious to a lot of people (e.g., streaming vs. non-streaming
feeds, multiple innfeeds, small vs. large article feeds, fiddling with
max-queue-size and max-connections, backup feeds with innxmit, and
various other tuning tips).
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Innfeed error..
Author: Frank Durda IV
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
38 lines
2319 bytes
2319 bytes
Jeff Mohler wrote: > Can anyone point me to the cause of this error: > --- > Dec 8 09:54:12 news innfeed[13457]: signal failed: Operation now in > progress Hmm, I can reproduce this one on demand (unfortunately). All I have to do is shutdown and then restart INND from cron (DEC OSF platform). Both INND and innfeed appear to restart normally, but when innfeed receives articles to propagate, it spits out that error for each message, and generates a new zero-length "dropped" file. A new message and "dropped" file get created for each article posted from that point onwards and NONE of the articles propagate. After a few hours, you have 20,000 "dropped" files laying around, and zero article propagation. Shutting innd down and restarting it manually (from a shell) doesn't cause this problem, so it must be something missing about the cron environment, although it doesn't seem to be anything obvious like having stdin/stderr/stdout. I'm about to drop using innfeed because I can't automate these restarts. INND gets too porky after 30 hours or so (600+ Meg), and restarting on schedule is better than waiting for the dreaded "Can't remalloc 1200673578 bytes" message. (datasize limit is 1GB) If someone has a fix for this anti-cron behaviour, I'd appreciate it. The couple of different innfeed versions I have tried all seem to fail on this point. 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 |
Re: Innfeed error..
Author: Department of Complaints, Insult...
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
26 lines
1859 bytes
1859 bytes
On Wed, 10 Dec 1997, Frank Durda IV wrote:
> I'm about to drop using innfeed because I can't automate these
> restarts. INND gets too porky after 30 hours or so (600+ Meg),
> and restarting on schedule is better than waiting for the dreaded
> "Can't remalloc 1200673578 bytes" message. (datasize limit is 1GB)
<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.
My bet is that you've applied some patches to innd with known memory
leek problems, and not the patches to fix them. I've seen this exact same
behaviour myself. Care to tell us the precise configuration of your INN,
where you got it from, and every single patch which has been applied?
I've got a pretty good idea what patch you have that's causing this
problem for you... But I ain't gonna spill the beans 'til you fess up.
Barry Bouwsma
will eat raw garlic for food, then sleep outside
Re: Innfeed error..
Author: Jeremy
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
15 lines
1089 bytes
1089 bytes
Frank Durda IV <uhclem.killspam@nemesis.lonestar.org> wrote: > I'm about to drop using innfeed because I can't automate these > restarts. INND gets too porky after 30 hours or so (600+ Meg), Do you have any idea why it gets this big? It seems that this is the problem you really need to solve, here. -- Jeremy | jeremy@exit109.com Is your ISP providing a *clean* Usenet feed? http://www.exit109.com/~jeremy/news/antispam.html
Re: Innfeed error..
Author: Jeremy
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
17 lines
1142 bytes
1142 bytes
Jesper Skriver <jesper@skriver.dk> wrote: >> That innfeed process had been running just under two hours (I reload >> newsfeeds from cron every two hours to keep innfeed's memory use under >> control). > > Wouldn't a ctlinnd flush innfeed! or similar do this?, it sure would be > faster than to reload the newsfeeds file. Hmm.. yeah, I didn't even think of that. -- Jeremy | jeremy@exit109.com The customer is always right, until he tries to say something.
Re: Innfeed error..
Author: CyberPromo Danmark
Date: Wed, 10 Dec 1997 00:00
Date: Wed, 10 Dec 1997 00:00
40 lines
2298 bytes
2298 bytes
On 9 Dec 1997, Jesper Skriver wrote:
> > (I reload
> >newsfeeds from cron every two hours to keep innfeed's memory use
> >under control).
>
> Wouldn't a ctlinnd flush innfeed! or similar do this?, it sure would be
> faster than to reload the newsfeeds file.
More effective is ctlinnd throttle 'memory leek' or perhaps
ctlinnd shutdown 'blarf' . If your innfeed doesn't shrink to a much
smaller size within, say, half an hour, then you might in fact have a
legitimate beef to annoy us in this newsfroup with. Its CPU usage should
also decrease significantly.
> >Barry told me there was a patch that addressed this, but I couldn't
>
> I believe we (Barry's hacking around here) are running stock 0.10.1.7
Ha. Naive innocence is so charming. You *were*. Once. I do hope
you made a full backup before you unchained me, so that you at least have
something to return to, where you might have a clue as to what you think
you're doing. Even if not, no need to be more alarmed than usual, for I
have made backups to /dev/null of all the files I changed.
What Jeremy is seeing is no doubt a result of mixing large articles
with small ones to slow peers, and trying to work with too many of them at
a time. With a little bit of tuning, there will be no need to restart
innfeed every five minutes. Split your feed by size, and handle no more
than five alt.binariez.wherez.* posts at a time. 10k or 20k is a decent
split into two feeds.
Barry Bouwsma
currently seeking next innocent victims to relinquish control of news swervers
Re: Innfeed error..
Author: 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 |
Re: Innfeed error..
Author: Department of Complaints, Insult...
Date: Thu, 11 Dec 1997 00:00
Date: Thu, 11 Dec 1997 00:00
68 lines
4190 bytes
4190 bytes
On Wed, 10 Dec 1997, Frank Durda IV wrote:
> This is a "it has always done this" problem for us:
>
> 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.
Okay, well, that was the other thing I was thinking, seeing that my
original (and probably false) assumption was that you were running a patch
to make sure channel feeds (such as innfeed) would be written more often
rather than being buffered by innd.
I now suspect you have a different problem. You say your history .pag
database file is now about 200M implying that it varies in size?
Here are some numbers for you to compare, with an interpretation as
well as an observation that we've been seeing between 15 and 20 articles
per second for the last few hours here, so there seems to be a somewhat
higher amount of news traffic today than over the last few days' 800k.
Our history file at the moment is just over 660M in size, which is
remembering things for ten days at present. The number of entries in our
history file is closing in on 9 million. I would guess your number of
entries is similar, or perhaps slightly less, since it's quite possible
that our history lines are somewhat shorter than yours.
Our history file was last rebuilt to handle 8,5 million entries, and
at the time, that would be just under 13 million slots in the hash table.
One would expect to see a history.pag file of around 50M in size with
stock history. In our case, the steady-state size is twice that, but
because the number of entries has overflowed the amount originally
calculated, the number of collisions has increased past a tolerable limit
and our .pag file is almost twice as large.
If you're trying to run a 600+M history text file with stock INN,
you're going to see lots of DBZ collisions with the result that your
database will continue to increase in size. You really don't want to be
letting this happen, as you see. It's really bad. It's slow and sucks up
lots of memory.
You would be advised to turn to a different history DBZ technique.
You can buy a bit of time with the 64-bit patches we're using here,
although that doubles the steady-state size of your .pag database file, or
you might want to look into the DBZ v3.3 from Sang-yong Suh, which steals
a few bits that normally point to the position in your text file, using
them to make collisions less likely, and improving your performance to
what it was when your history file was far smaller.
You can, of course, try an alternative MD5-based history database
format, but the v3.3 has the advantage that it's a plug-in replacement,
fully compatible with the stock v3.2 dbz as supplied. The 64-bit patches
may or may not work for you -- you do have some 64-bit support, but you
may need to massage the code a bit.
I'm hoping that with a bit of history hackery, your .pag database size
will remain constant at something reasonable in the neighbourhood of 50M
or perhaps a bit less, and your innd will behave itself, and while this
doesn't solve your problem with innfeed, you shouldn't need to restart
innd much, and you'll see far better performance overall.
Barry Bouwsma
Of course, I could be wrong.
Re: Innfeed error..
Author: Frank Durda IV
Date: Fri, 12 Dec 1997 00:00
Date: Fri, 12 Dec 1997 00:00
30 lines
2045 bytes
2045 bytes
Frank Durda IV wrote: > Hmm, I can reproduce this one on demand (unfortunately). > All I have to do is shutdown and then restart INND from cron > (DEC OSF platform). Both INND and innfeed appear to restart normally, > but when innfeed receives articles to propagate, it spits > out that error for each message, and generates a new zero-length > "dropped" file. A new message and "dropped" file get created for > each article posted from that point onwards and NONE of the articles > propagate. After a few hours, you have 20,000 "dropped" files > laying around, and zero article propagation. Someone sent me email claiming a particular version of INNFEED had a fix for this specific problem, but the mail got lost when I forwarded it to a second system. Whomever that was, please resend, along with an address where it can be obtained. FYI, I see the problem with 0.10.1, which appears to be the newest version available at ftp.isc.org. If a newer version exists, please provide the location. Thanks in advance. 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 |
Re: Innfeed error..
Author: Frank Durda IV
Date: Fri, 12 Dec 1997 00:00
Date: Fri, 12 Dec 1997 00:00
63 lines
3944 bytes
3944 bytes
Department of Complaints, Insults, and Verbal Abuse wrote: > > On Wed, 10 Dec 1997, Frank Durda IV wrote: > > > This is a "it has always done this" problem for us: > > > > 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. > > I now suspect you have a different problem. You say your history .pag > database file is now about 200M implying that it varies in size? A tiny bit. If you are thinking it doubles or triples in size, no we haven't seen that since we fixed the "stuff duplicate message-IDs in the database bug", which caused that sort of growth in just a few hours. Since that bug was covered, the size of the .pag file has been pretty constant, varying by several meg with daily traffic levels. And as pointed out before on this tangent, VSZ on INND is what grows insanely here, with relatively modest growth in RSS. Starting at 240Meg VSZ/190Meg RSS, 24 hours later we have 459/172 (taken from the system right now). history is 695,234,426 and history.pag is 147,018,152, smaller than it has been of late. When the weekend spammer/cancel war starts later today, this will bump back up to just under 200Meg on the .pag file. The size of INND in memory should exceed 700M VSZ by this time tomorrow with all the cancel activity, assuming I let it go that far. <discussion about pre-building history database to be sized "right" noted.> Seems like I mentioned this one in here sometime back and was immediately yelled down by people saying that the dbz included with INND is modified to automatically select a "good" number during the daily expire run, so any pre-selection will be undone on the next history rebuild. (Will someone who really knows what expire/makehistory/dbz does please stand up?) In any event, I assumed INND was stupid and started with a prime near 12 million, and we currently have around 9.3 million articles in the history file. The .dir file is: dbz 3 14454613 9 C 8589934592 8589934591 30 8 7 6 5 4 3 2 1 0 9377964 9565562 9513377 9264892 9135231 9167209 9313004 9438385 9237326 9572311 9636397 > You would be advised to turn to a different history DBZ technique. > You can buy a bit of time with the 64-bit patches we're using here, Because of the platform, we had to put in 64bit mods a long time ago, so that isn't it. Again, the actual files aren't insanely large, MEMORY gets to be. Thanks for the tips, but these things don't seem to be related to the problems with INND growth we see and put up with. Of course, if innfeed could be restarted properly when INND is restarted via cron, this entire problem could be avoided. 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 |
Re: Innfeed error..
Author: Jesper Skriver
Date: Sat, 13 Dec 1997 00:00
Date: Sat, 13 Dec 1997 00:00
15 lines
1055 bytes
1055 bytes
>FYI, I see the problem with 0.10.1, which appears to be the newest >version available at ftp.isc.org. If a newer version exists, please >provide the location. ftp://ftp.hub.org/pub/innfeed/ -- Jesper Skriver (JS249-RIPE), Network manager Tele Danmark Internet (TDI1-RIPE) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone bind them.
Re: Innfeed error..
Author: Phil Crown
Date: Sat, 13 Dec 1997 00:00
Date: Sat, 13 Dec 1997 00:00
36 lines
2234 bytes
2234 bytes
>>>>> "FDI" == Frank Durda IV <uhclem.killspam@nemesis.lonestar.org> writes: FDI> Frank Durda IV wrote: >> Hmm, I can reproduce this one on demand (unfortunately). >> All I have to do is shutdown and then restart INND from cron >> (DEC OSF platform). Both INND and innfeed appear to restart normally, >> but when innfeed receives articles to propagate, it spits >> out that error for each message, and generates a new zero-length >> "dropped" file. A new message and "dropped" file get created for >> each article posted from that point onwards and NONE of the articles >> propagate. After a few hours, you have 20,000 "dropped" files >> laying around, and zero article propagation. FDI> Someone sent me email claiming a particular version of INNFEED had FDI> a fix for this specific problem, but the mail got lost when I FDI> forwarded it to a second system. Whomever that was, please resend, FDI> along with an address where it can be obtained. FDI> FYI, I see the problem with 0.10.1, which appears to be the newest FDI> version available at ftp.isc.org. If a newer version exists, please FDI> provide the location. I emailed you about innfeed "restart problem" with 10.1.1. Upgrading to 10.1.6 fixed it, but I see 10.1.6 is not at ftp.isc.org now. I will dig up a copy and send it you. (btw, in the Makefile, it still says 10.1.1, but it is really 10.1.6). hold on a sec ... -- Phil Crown pcrown@ispnews.com http://ispnews.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads