Thread View: news.software.nntp
3 messages
3 total messages
Started by Mark G. Thomas
Sat, 03 Jan 1998 00:00
innfeed growing huge
Author: Mark G. Thomas
Date: Sat, 03 Jan 1998 00:00
Date: Sat, 03 Jan 1998 00:00
31 lines
1621 bytes
1621 bytes
I'm running inn-1.7.2 and innfeed-0.10.1.6 under Solaris-2.5.1. Normally innfeed uses around 5-8 MB of memory, but if I turn on no-backlog for any site, innfeed starts growing huge (30M). Is this a bug or a feature? I want to be able to enable this so that for a couple sites that sometimes fall way behind I can drop their articles rather then growing large backlog files on disk. -Mark last pid: 25381; load averages: 0.62, 0.60, 0.64 00:45:35 45 processes: 44 sleeping, 1 on cpu CPU states: 1.8% idle, 19.6% user, 16.2% kernel, 62.5% iowait, 0.0% swap Memory: 180M real, 2960K free, 136M swap, 489M free swap PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 354 news 35 0 89M 36M sleep 71.8H 21.83% 20.08% innd 8679 news 16 4 30M 22M sleep 25:18 9.16% 8.31% innfeed 8677 news 21 4 1512K 1072K sleep 1:06 0.39% 0.60% overchan 25381 mark 33 0 2568K 1824K cpu 0:00 1.09% 0.43% top 8674 news 21 4 1512K 1056K sleep 2:24 0.48% 0.41% crosspost -- Mark Thomas (Mark@Misty.com)
Re: innfeed growing huge
Author: Marc Slemko
Date: Sat, 03 Jan 1998 00:00
Date: Sat, 03 Jan 1998 00:00
24 lines
1230 bytes
1230 bytes
In <slrn6arkgg.m5s.mark@marksys.misty.com> mark@misty.com (Mark G. Thomas) writes:
>I'm running inn-1.7.2 and innfeed-0.10.1.6 under Solaris-2.5.1.
>Normally innfeed uses around 5-8 MB of memory, but if I turn on no-backlog
>for any site, innfeed starts growing huge (30M). Is this a bug or a feature?
Bug, upgrade or apply a patch.
Hmm, don't have a patch handy and my innfeed CVS tree isn't happy.
in tape.c in tapeTakeArticle, you want the code like the below
to read like;
/* return immediately if spooling disabled - jgarzik */
if (tape->noBacklog) {
delArticle (article) ;
return;
}
the delArticle is what was missing.
Re: innfeed growing huge
Author: Charlie Reboot
Date: Sun, 04 Jan 1998 00:00
Date: Sun, 04 Jan 1998 00:00
67 lines
4000 bytes
4000 bytes
On 3 Jan 1998, Mark G. Thomas wrote:
> Normally innfeed uses around 5-8 MB of memory, but if I turn on no-backlog
> for any site, innfeed starts growing huge (30M). Is this a bug or a feature?
Yes.
> I want to be able to enable this so that for a couple sites that sometimes
> fall way behind I can drop their articles rather then growing large backlog
> files on disk.
You know, I wish that people wouldn't just do things like that. Yes,
I know it really boosts performance at the sender end, and in some cases
might appear to help out the receiving end, but at what cost?
What you're probably going to do then is be sending a random feed.
Not a big deal if only one of several incoming sites is doing this, but
nowadays there are a lot of sites which are operating in best-shot mode.
Your peer could be missing out on articles they want during a renumber or
something.
What I'd rather see happening is more communication between
newsadmins, and I don't mean full-contact communication. If you see that
a peer isn't keeping up with what you have to offer, why not send off a
standard form letter to that site saying, hey, um, I happened to notice
that you were, well, lagging significantly and you've built up a backlog
of seven million articles here. Do you know you suck? Perhaps the peer
isn't aware of it.
It could be that the site you feed has a better idea than just tossing
any articles which don't get delivered immediately. Perhaps the peer
would want to instead be fed a limited feed, say, if the peer can't stand
the thought of missing out on the Big 8 and alt.sysadmin.recovery, but
doesn't care if a handful of posts are missing from ia.weather each day.
If the site you feed can only keep up with 200k articles daily, and I
were in your shoes, I'd feed only the groups which I felt were more
important before going no-backlog. Of course, if the site you feed is
more like a yo-yo, being up only when someone bothers to walk across town
and push the red button after four days of downtime, then I can't blame
you.
Communication. It can't hurt. At least, not too much. Maybe not
much more than a root canal without anaesthetic. Probably. Try some,
sometime. It's good for you.
Oh, and by the way, do you know that you offered us some 5000 articles
yesterday which we had already seen a week earlier? You might want to
look into that. I mean, forcing us to go to disk to verify *five*
*thousand* articles that you should have had a week ago, if you didn't
suck? I mean, that's *five* *thousand* lousy times that we had to go
*way* back in our goddamn 12 million entry history file to verify just
because you decided you'd cripple our performance by sending us some lousy
old stale recycled news? You do know, of course, that this means war.
<music type=strings>
This message has been brought to you as a public service announcement by
The Caring and Benevolent Tele Danmark Internet Newsbastards
Providing carefully handcrafted, customized newsfeeds
<blink>``We Care, so that you don't have to worry, heh heh heh''</blink>
shoveling heaps of steaming news your way since, well, sometime
<fade type=black></music><curtain><lights intensity=glaring></popcorn>
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