🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by Scott Gifford Thu, 06 Aug 1998 00:00
INN 2.0/2.1+CNFS Expiring like a Madman
#30325
Author: Scott Gifford
Date: Thu, 06 Aug 1998 00:00
33 lines
2139 bytes
Well, after using INN2.0 succesfully for about a week, it seems to have gone
bonkers on me.  Suddenly, whenever the expire runs, it will delete every
single article off of the server, and fill the expire log with lines like
this:

Expire messages:
expire begin Thu Aug  6 04:31:05 EDT 1998: (-v1 -c -e '-d/swap' '-rExpiring
25115 on
/swap' -z/var/log/news/expire.rm -u/var/log/news/expire.index.rm -Z/var/log/
news/expire.lowmark)
    Duplicate message-id "[F8108BC26F626C2C7B35A98516BF87DD]" in history
    Duplicate message-id "[1AB4BD0C425B65E00BCDC6635432CCCC]" in history
    Duplicate message-id "[CFD608440200EFA3C0EDBF9526B83AA6]" in history
    Duplicate message-id "[19C0C78004303A1B1D577B4A8D81363F]" in history
    Duplicate message-id "[6358ED3B0EB486A3261CC15BFB9B567F]" in history
    Duplicate message-id "[74490B6122DAAC9E4D232EBDEA196CFD]" in history
    Duplicate message-id "[23D30D2BF45B8AADE5D6CE1141EB12AF]" in history
    Duplicate message-id "[6FD8AC0CD23D013D9F0169B9B70DB173]" in history
    Duplicate message-id "[F94ADCB25D9D3FEA773CAA2D30E40A1F]" in history

and so on, for thousands of lines.

  I tried upgrading to 2.1 this afternoon, but it didn't help.  I have no
idea what is going on.  Anybody got any hints for me?

  Thanks much for any ideas!  Please email, as I might not read the news
fast enough to get ahead of my Mad Expire Process . . .

------Scott.



Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30321
Author: Brian Edmonds
Date: Thu, 06 Aug 1998 00:00
28 lines
2706 bytes
Scott Gifford <sgifford@tir.com> writes:
> Well, after using INN2.0 succesfully for about a week, it seems to
> have gone bonkers on me.  Suddenly, whenever the expire runs, it will
> delete every single article off of the server

I see those duplicate message-id log messages from time to time myself,
but are you sure it's *every* article?  I know mine certainly isn't
nuking them all, as a 1.5 million line nightly report would do
interesting things to our mail system, and be somewhat noticeable in the 
list of new mail...

> I tried upgrading to 2.1 this afternoon, but it didn't help.  I have
> no idea what is going on.  Anybody got any hints for me?

I'd sort of like to know myself, if only out of curiosity.  One thing to 
check is what you have remember set to in expire.ctl, but I doubt that's 
your problem.

Of course, I'd also like to know why my expires are taking 10 hours.  It
shouldn't take that long just to rewrite the history file, dropping the
entries older than the remember time.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30339
Author: Brian Edmonds
Date: Fri, 07 Aug 1998 00:00
22 lines
2404 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> writes:
> But this was already fixed for 2.1, and I believe that will never
> happen for the next news.daily.

The server I see the dup messages on has never run anything but 2.1.
They haven't appeared in the last couple days, but if they do again I'll 
be sure to pay more attention.

> I suspect you run non-tagged hash without enough memory.  Try tagged
> hash with --enable-tagged-hash.

The server was built with tagged hash -- I just double checked this in
config.status.  It is swapping considerably, as I'm down to 64MB due to
a bad SIMM.  If the long expires persist once I'm back to 128MB I will
start to be more concerned.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30342
Author: Katsuhiro Kondou
Date: Fri, 07 Aug 1998 00:00
22 lines
1707 bytes
In article <371zqtfmkn.fsf@cascade.cs.ubc.ca>,
	Brian Edmonds <bedmonds@cs.ubc.ca> wrote;

} I'd sort of like to know myself, if only out of curiosity.  One thing to 
} check is what you have remember set to in expire.ctl, but I doubt that's 
} your problem.

That problem happens if innd received articles whose size
are over maxartsize in inn.conf.  But this was already
fixed for 2.1, and I believe that will never happen for
the next news.daily.

} Of course, I'd also like to know why my expires are taking 10 hours.  It
} shouldn't take that long just to rewrite the history file, dropping the
} entries older than the remember time.

I suspect you run non-tagged hash without enough memory.
Try tagged hash with --enable-tagged-hash.
-- 
Katsuhiro Kondou

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30343
Author: Stig Sandbeck Mathisen
Date: Fri, 07 Aug 1998 00:00
19 lines
1410 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> writes:

> } Of course, I'd also like to know why my expires are taking 10 hours.  It
> } shouldn't take that long just to rewrite the history file, dropping the
> } entries older than the remember time.
> 
> I suspect you run non-tagged hash without enough memory.
> Try tagged hash with --enable-tagged-hash.

What is "enough memory"?  I have 380 MB on an ultra 1, and expire
still takes ~16 hours to "run".  

(The history file is ~800MB big, and I have remember set to 14.)

-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30376
Author: Brian Edmonds
Date: Mon, 10 Aug 1998 00:00
17 lines
2352 bytes
Jason Cash <cash@ee udel edu>= <cash@eecis.udel.edu> writes:
> I see the same behavior w/ a dual proc sparc 20 w/ 288mbs memory
> (CNFS, 2.1).  The history file was around 700mbs and expires took
> >24hrs. The expire process was swapping like crazy.

In your case I'd suspect you built without --enable-tagged-hash; I tried
that once in testing, and the expire process was absolutely huge.  My
INN process is running around 80MB, and expire around 50MB.  Based on
that I have some reasonable hope that going to 128MB RAM will ease the
situation considerably.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30379
Author: Jason Cash cash
Date: Mon, 10 Aug 1998 00:00
28 lines
1774 bytes
In article <37n29gpmo6.fsf@cascade.cs.ubc.ca>,
Brian Edmonds  <bedmonds@cs.ubc.ca> wrote:
>Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> writes:
>> But this was already fixed for 2.1, and I believe that will never
>> happen for the next news.daily.
>
>The server I see the dup messages on has never run anything but 2.1.
>They haven't appeared in the last couple days, but if they do again I'll 
>be sure to pay more attention.
>
>> I suspect you run non-tagged hash without enough memory.  Try tagged
>> hash with --enable-tagged-hash.
>
>The server was built with tagged hash -- I just double checked this in
>config.status.  It is swapping considerably, as I'm down to 64MB due to
>a bad SIMM.  If the long expires persist once I'm back to 128MB I will
>start to be more concerned.


    I see the same behavior w/ a dual proc sparc 20 w/ 288mbs memory (CNFS,
    2.1).  The history file was around 700mbs and expires took > 24hrs. The
    expire process was swapping like crazy.   I fear your extra 64mbs will
    not help much :|.

Jason Cash
cash@ee.udel.edu

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30400
Author: rune
Date: Tue, 11 Aug 1998 00:00
26 lines
2025 bytes
Brian Edmonds <bedmonds@cs.ubc.ca> writes:

> Jason Cash <cash@ee udel edu>= <cash@eecis.udel.edu> writes:
> > I see the same behavior w/ a dual proc sparc 20 w/ 288mbs memory
> > (CNFS, 2.1).  The history file was around 700mbs and expires took
> > >24hrs. The expire process was swapping like crazy.

> In your case I'd suspect you built without --enable-tagged-hash; I tried
> that once in testing, and the expire process was absolutely huge.

I can confirm this - I run inn 2 without tagged hash (and with
extendeddbz - but thats much less of an issue) and I see expire taking
~309Mb (this is with an 800Mb history textfile)

I don't recomend non-tagged code if you have less then half a gig of
memory - I did have 384Mb in the box but this meant the expire process
started to swap - meaning expire took all day rather then half an
hour.

-- 
   Robert Collier   -   Network  Operations   -   Frontier Internet
   ----------------------------------------------------------------
   Disclaimer: The views contained herein may not reflect the views
      of my employer and reliance should not be placed thereon.   

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30412
Author: Jason Cash cash
Date: Tue, 11 Aug 1998 00:00
35 lines
2259 bytes
In article <3790kwmoe0.fsf@cascade.cs.ubc.ca>,
Brian Edmonds  <bedmonds@cs.ubc.ca> wrote:
>Jason Cash <cash@ee udel edu>= <cash@eecis.udel.edu> writes:
>> I see the same behavior w/ a dual proc sparc 20 w/ 288mbs memory
>> (CNFS, 2.1).  The history file was around 700mbs and expires took
>> >24hrs. The expire process was swapping like crazy.
>
>In your case I'd suspect you built without --enable-tagged-hash; I tried
>that once in testing, and the expire process was absolutely huge.  My
>INN process is running around 80MB, and expire around 50MB.  Based on
>that I have some reasonable hope that going to 128MB RAM will ease the
>situation considerably.


    Quite true!  The "$(INNSRC)/INSTALL" file had the following entry which led
me to not running configure w/ that flag:

---------------------------------------------------------------------
  --enable-tagged-hash    Use tagged hash table for the history database.
                          The tagged hash format uses much less memory but is
                          somewhat slower. This option is recommended if you
                          have less than 256 MB of RAM on your news server.
---------------------------------------------------------------------

    Having 288mb in my test machine, I figured I would opt for speed. Does
anyone have any data on what kind of performance difference can be expected?
How about a formula that can tell you how much memory you need to 
expire successfully given a certain spool/history size?


Thanks,
Jason Cash
cash@ee.udel.edu

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30434
Author: Peter Moss
Date: Wed, 12 Aug 1998 00:00
21 lines
1691 bytes
On 11 Aug 1998 rune@ftech.net wrote:

> Brian Edmonds <bedmonds@cs.ubc.ca> writes:
> 
> 
> I can confirm this - I run inn 2 without tagged hash (and with
> extendeddbz - but thats much less of an issue) and I see expire taking
> ~309Mb (this is with an 800Mb history textfile)
> 
> I don't recomend non-tagged code if you have less then half a gig of
> memory - I did have 384Mb in the box but this meant the expire process
> started to swap - meaning expire took all day rather then half an
> hour.

in my case a PII-400 with 512MB and several scsi drives on a couple of
controllers, with non-tagged build i gave up on the expiry after 12 hours
and recompiled with tagged has enabled, expires returned to a couple of
hours.


Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30467
Author: Joerg Moellenkamp
Date: Thu, 13 Aug 1998 00:00
58 lines
3087 bytes
rune@ftech.net schrieb in Nachricht <874svj3j0j.fsf@rune.tech.ftech.net>...
>Brian Edmonds <bedmonds@cs.ubc.ca> writes:
>
>> Jason Cash <cash@ee udel edu>= <cash@eecis.udel.edu> writes:
>> > I see the same behavior w/ a dual proc sparc 20 w/ 288mbs memory
>> > (CNFS, 2.1).  The history file was around 700mbs and expires took
>> > >24hrs. The expire process was swapping like crazy.

>> In your case I'd suspect you built without --enable-tagged-hash; I tried
>> that once in testing, and the expire process was absolutely huge.
>
>I can confirm this - I run inn 2 without tagged hash (and with
>extendeddbz - but thats much less of an issue) and I see expire taking
>~309Mb (this is with an 800Mb history textfile)
>
>I don't recomend non-tagged code if you have less then half a gig of
>memory - I did have 384Mb in the box but this meant the expire process
>started to swap - meaning expire took all day rather then half an
>hour.


Here at nordwest.net we run a system with 512 MB Memory...
Linux 2.0.35, 24 Gig Spool, 6 Gig History, 6 Gig Overchan on
seperate Disc-Systems (connected with ultrawidescsi) .. all
Hardware-RAID. We run INN 2.1 with actived, innfeed (4 Peers,
full feed), tagged-hash, extended-dbz, CNFS, no mmap.

Normaly the system must be fast as hell. The System doesn't
swap,
           total        used      free      shared   buffers chached
Mem: 515652   508044 7608     259664  57632   289520
Swap: 130748  204       130544

Reality Check:
Generally the system is horrible slow .... with telnet at most times
the system react fast, but in periodical times, the system don't react
at all.

same effect , expire starts at 4:00, when i come in my office , at 7, the
expire will endure at least further 1 to 2 hours .... in this time, the system
is unusable. nnrp-request get no reaction from the newsserver.

Every monring up to 20-30 innd processes... i have luck when i can login
via telnet in my system in under 5 minutes.

At the evening the same symptoms ... very slow system ....
near to unusabilty

Bye
 Joerg






Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30468
Author: Barry Bierbauch
Date: Thu, 13 Aug 1998 00:00
50 lines
3124 bytes
On 13 Aug 1998, Brian Edmonds wrote:

> Joerg Moellenkamp <jm@nwn.de> writes:
> > Here at nordwest.net we run a system with 512 MB Memory...  Normaly
> > the system must be fast as hell.  Generally the system is horrible
> > slow
> 
> From further discussion on the inn-workers list, the docs for
> --enable-tagged-hash are being updated to suggest that you should have
> RAM equal to the size of your history file and then some if you're not
> going to be using tagged hash.

Interesting, reading about the problems people are finding with their
resources and the history file.

We've been running a hacked version that matches neither the history in
2.0 or 1.x, but is based on Clayton O'Neill's work from some months back
towards 1.8, and it's been running like a champ, never having serious
problems expiring.

Our swerver has
Jun 30 18:07:59 news-feed /kernel: real memory  = 402653184 (393216K bytes)
Jun 30 18:07:59 news-feed /kernel: avail memory = 392843264 (383636K bytes)
and our measurement in the eternal history DSW is
-rw-rw-r--  1 news  news  873538569 Aug 13 21:23 history
-rw-rw-r--  1 news  news        120 Aug 13 21:23 history.dir
-rw-rw-r--  1 news  news  189139686 Aug 13 21:23 history.hash
-rw-rw-r--  1 news  news  126093124 Aug 13 21:23 history.index
for some 300M between the non-text files.

In spite of this, we finish expire in less than half an hour...
expire begin Wed Aug 12 08:31:34 CEST 1998: (-v1)
    Article lines processed        0
    Articles retained        9969911
    Entries expired                0
    Files unlinked                 0
    Old entries dropped       782911
    Old entries retained       17374
expire end Wed Aug 12 08:57:15 CEST 1998

I haven't looked at 2.0 to see how it differs from the Work In Progress
that we froze to use back in early January, so I don't know why I bothered
to chime in with this but to say that it hasn't been a problem for our
underendowed system...


Barry Bouwsma


Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30476
Author: Brian Edmonds
Date: Thu, 13 Aug 1998 00:00
19 lines
2447 bytes
Joerg Moellenkamp <jm@nwn.de> writes:
> Here at nordwest.net we run a system with 512 MB Memory...  Normaly
> the system must be fast as hell.  Generally the system is horrible
> slow

From further discussion on the inn-workers list, the docs for
--enable-tagged-hash are being updated to suggest that you should have
RAM equal to the size of your history file and then some if you're not
going to be using tagged hash.

I kinda think it might make sense to make tagged hash the default given
how few of us probably have that kind of resources...

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30484
Author: Joerg Moellenkamp
Date: Fri, 14 Aug 1998 00:00
38 lines
2228 bytes
>I found disabling extendeddbz to be a help (followed by makehistory -r

[...]
>history file.


extendeddbz seems to be automatically disabled when you work with
tagged-hash. The problem is, that my system do not swap. There are ony
some Kilobyte in Swap .... nothing worth to mention.

Nevertheless the System needs hours to expire. The History file 1,04
Gigabyte in size, the dbzfile ist 76.5 GByte in size, today i increased
the value for syncing intervals history and active to 5000 articles.
I will wait a while to observe, how the system will behave now ....

Of course this is no solution for the exipire problem .... at the moment,
i think that 4-5 hours to expire the spool can be probabily normal with 8
Millions Articles in the spool and i think about the step to switch to
News-in-Cans. As far as i understand the system, this would solve the
problem with the expire, but i cannot use the cyclic buffers anymore ....

Hmm, well, when this do not help i will asked the pointy-haired for
additional horsepower for the newssystem (Alpha with a Gig memory
would be nice), when i`m lucky, he will not kill me :-)))

Bye
 Joerg










Re: INN 2.0/2.1+CNFS Expiring like a Madman
#30504
Author: Steven Gillard
Date: Fri, 14 Aug 1998 00:00
39 lines
2605 bytes
Joerg Moellenkamp wrote:
> 
> rune@ftech.net schrieb in Nachricht 
> >I can confirm this - I run inn 2 without tagged hash (and with
> >extendeddbz - but thats much less of an issue) and I see expire taking
> >~309Mb (this is with an 800Mb history textfile)

> same effect , expire starts at 4:00, when i come in my office , at 7, the
> expire will endure at least further 1 to 2 hours .... in this time, the system
> is unusable. nnrp-request get no reaction from the newsserver.

I was having the same problems - expire chewing up close to 300Meg of
memory, taking 8-10 hours to run and the system paging like crazy.
This is on a HPUX system with 350Meg of memory, and a 500-600Meg history
file.

I found disabling extendeddbz to be a help (followed by makehistory -r
-s <size> to rebuild the dbz files).  Expire now runs with 185Meg data
segment size and usually finishes in less than 2 hours.  The machine is
now responding OK, but memory pressure during expire is still very high.

It seems to be because expire reads the history.hash and history.index
files into memory, and with extendeddbz on these files are much larger. 
My plans are to increase memory by 100Meg and reduce the history file
size by setting a smaller remember value in expire.ctl.  This is
probably not enough to turn extendeddbz back on, but should ease things
further.

I'd suggest leaving extendeddbz off unless you have *well* over half a
Gig of memory, and anything less than 400Meg compile with
--enable-tagged-hash.  Of course, a lot depends on the size of your
history file.

Just my 2 cents worth...

steven_gillard@hp.com.nojunkmail
...opinions expressed are my own...

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