🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Tuuli Tuominen Mon, 21 Jun 1999 00:00
Problem with synchronizing
#38173
Author: Tuuli Tuominen
Date: Mon, 21 Jun 1999 00:00
24 lines
1900 bytes
Hi again,
I finally managed to copy the local groups by hand from my old server to my
new one. I also copied the active file, the active.times file and the
newsgroups file. I created the history files with makehistory -o and the
overview files with expireover -a. Now the new server is running in slave
mode and everything's just fine, except that on non-local newsgroups --
the ones that were empty until they started to get messages from the old
server -- are behaving strangely. When I test the new server with my old 
newsrc (using trn or slrn or whatever) the read message count is reset 
(the message being 'Warning! Somebody reset alt.foo. Assuming nothing
read'). Of course the new server has only a few of the articles, but it'll
tell me there are thousands of unread articles in each non-local group.
Now is there something I could've and should've done to prevent this
from happening? I was kind of under the impression that the old newsrc's
would be just OK with the new server.

Tuuli, who believes there's an obvious answer to this one, but is way too
tired to think of it right now.
-- 
NH 3.2.2D A Daphne-VF HP:287(303) Pw:112(112) AC:-41 L:30 T:113561 N
          [++ )++ P+ S+ D+ p+ $+ t+ s+ W+ E- PS PP G+ C+ I++ 
          @W(*(15)) N b- !B !Y X+ So+ Sp++ !sb !wb

Re: Problem with synchronizing
#38178
Author: Tuuli Tuominen
Date: Tue, 22 Jun 1999 00:00
24 lines
1425 bytes
Russ Allbery wrote:
> 
> Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:
> 
> > Another question. I haven't enabled article mmap. If I do it now, do I
> > have to recreate the article spool or something? I'm running Inn on
> > Solaris 7 with 512 megs of memory, should I enable article mmap?
> 
> Yes.

You remind me of Kosh somehow. :-)
Which one of the questions did you answer? I assume it was the latter
one.

> (I'm not sure if INN 2.2 even pays much attention to that setting; INN 2.3
> pretty much requires mmap.)

What does it do with it then? Inn 2.2 I mean.

-- 
Tuuli Tuominen
tuuli.tuominen@helsinki.fi

Re: Problem with synchronizing
#38180
Author: Tuuli Tuominen
Date: Tue, 22 Jun 1999 00:00
19 lines
1434 bytes
Russ Allbery wrote:
> Oh, whoops!  I had forgotten you'd asked several questions.  Obviously the
> quality time I've spent today with m4 is getting to me.
> 
> You don't have to recreate the article spool, assuming that you're already
> storing articles in wire format (which anything that uses the storage API
> always does).

Hmm. I use the traditional storing method so I have storage API set to
false. Is this only for storage API folks? Man inn.conf doesn't mention
restrictions to trad spool servers.

Tuuli.
-- 
Tuuli Tuominen
tuuli.tuominen@helsinki.fi

Re: Problem with synchronizing
#38181
Author: Tuuli Tuominen
Date: Tue, 22 Jun 1999 00:00
26 lines
2161 bytes
On 21 Jun 1999 16:49:12 GMT, Tuuli Tuominen <tuuli.tuominen@helsinki.fi> wrote:
>server -- are behaving strangely. When I test the new server with my old 
>newsrc (using trn or slrn or whatever) the read message count is reset 
>(the message being 'Warning! Somebody reset alt.foo. Assuming nothing
>read'). Of course the new server has only a few of the articles, but it'll
>tell me there are thousands of unread articles in each non-local group.
>Now is there something I could've and should've done to prevent this
>from happening? I was kind of under the impression that the old newsrc's
>would be just OK with the new server.

Follow-up to my own post -- sorry. Anyhow, seems like the renumber lowmark
thing corrects the situation by adjusting the low number in the active file.
So whenever an article appears to a previously empty group, the article
count will be wrong until the next renumber, which is done nightly after
news.daily. So it seems I really don't have to worry about this one.

Another question. I haven't enabled article mmap. If I do it now, do I have
to recreate the article spool or something? I'm running Inn on Solaris 7
with 512 megs of memory, should I enable article mmap?

Tuuli.
-- 
Verbosity leads to unclear, inarticulate things.
				-- Dan Quayle

Re: Problem with synchronizing
#38185
Author: Russ Allbery
Date: Tue, 22 Jun 1999 00:00
15 lines
1074 bytes
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:

> Another question. I haven't enabled article mmap. If I do it now, do I
> have to recreate the article spool or something? I'm running Inn on
> Solaris 7 with 512 megs of memory, should I enable article mmap?

Yes.

(I'm not sure if INN 2.2 even pays much attention to that setting; INN 2.3
pretty much requires mmap.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Problem with synchronizing
#38192
Author: Russ Allbery
Date: Tue, 22 Jun 1999 00:00
34 lines
1969 bytes
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:
> Russ Allbery wrote:
>> Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:

>>> Another question. I haven't enabled article mmap. If I do it now, do I
>>> have to recreate the article spool or something? I'm running Inn on
>>> Solaris 7 with 512 megs of memory, should I enable article mmap?

>> Yes.

> You remind me of Kosh somehow. :-) Which one of the questions did you
> answer? I assume it was the latter one.

Oh, whoops!  I had forgotten you'd asked several questions.  Obviously the
quality time I've spent today with m4 is getting to me.

You don't have to recreate the article spool, assuming that you're already
storing articles in wire format (which anything that uses the storage API
always does).

>> (I'm not sure if INN 2.2 even pays much attention to that setting; INN
>> 2.3 pretty much requires mmap.)

> What does it do with it then? Inn 2.2 I mean.

I think it just always uses it.  It might not; INN 2.3 I believe does.
mmap() has lots of nice properties that you want.  Your programs take up
less real memory, it's faster for most things, and you don't use up a file
descriptor when you open a file.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Problem with synchronizing
#38193
Author: Russ Allbery
Date: Tue, 22 Jun 1999 00:00
14 lines
1229 bytes
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:

> Hmm. I use the traditional storing method so I have storage API set to
> false. Is this only for storage API folks? Man inn.conf doesn't mention
> restrictions to trad spool servers.

What's wireformat set to?  If it's true, you're still storing in wire
format.  If it's false, I don't think you actually get any gains from
mmap().

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Problem with synchronizing
#38206
Author: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
20 lines
1403 bytes
bill davidsen <davidsen@tmr.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:
>> Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:

>>> Another question. I haven't enabled article mmap. If I do it now, do I
>>> have to recreate the article spool or something? I'm running Inn on
>>> Solaris 7 with 512 megs of memory, should I enable article mmap?

>> Yes.

> Hum, maybe that's the problem with my 2.3, given the problems in 2.2
> with AIX mmap, I just left it off.

Since you mentioned that before, I've checked with a few other people who
are running AIX with 2.3, and they report mmap is working fine.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Problem with synchronizing
#38208
Author: bill davidsen
Date: Wed, 23 Jun 1999 00:00
20 lines
1561 bytes
In article <yld7yoobiu.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes:
| 
| > Another question. I haven't enabled article mmap. If I do it now, do I
| > have to recreate the article spool or something? I'm running Inn on
| > Solaris 7 with 512 megs of memory, should I enable article mmap?
| 
| Yes.

Hum, maybe that's the problem with my 2.3, given the problems in 2.2
with AIX mmap, I just left it off.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Problem with synchronizing
#38455
Author: bill davidsen
Date: Tue, 06 Jul 1999 00:00
20 lines
1751 bytes
In article <yllndaqre0.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| Since you mentioned that before, I've checked with a few other people who
| are running AIX with 2.3, and they report mmap is working fine.

Well, yes and no. Incoming article rate is still slow, but it works with
the option set true. One step in the right direction. Incoming rate
still peaks at 16-20 art/sec, while 2.2-STABLE ran 40-50 peaks.

Now that I'm back from vacation I want to look at that a bit, it isn't
generating innreport graphics either, which it was with 2.2. On my to-do
list, but behind a bunch of other stuff dropped on me.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Problem with synchronizing
#38475
Author: Russ Allbery
Date: Wed, 07 Jul 1999 00:00
14 lines
1214 bytes
bill davidsen <davidsen@tmr.com> writes:

> Now that I'm back from vacation I want to look at that a bit, it isn't
> generating innreport graphics either, which it was with 2.2. On my to-do
> list, but behind a bunch of other stuff dropped on me.

Did you update the config file and accidentally not get the HTML and GIF
settings put back?  (Yeah, I know it's obvious, but it's bitten me
before.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Problem with synchronizing
#38511
Author: bill davidsen
Date: Thu, 08 Jul 1999 00:00
24 lines
1852 bytes
In article <7m0u96$cj$1@inn.do.mms.mt.nec.co.jp>,
Katsuhiro Kondou  <kondou@uxd.fc.nec.co.jp> wrote:
| In article <7ltpv1$1tsa$1@newssvr03-int.news.prodigy.com>,
| 	davidsen@tmr.com (bill davidsen) wrote;
| 
| } Well, yes and no. Incoming article rate is still slow, but it works with
| } the option set true. One step in the right direction. Incoming rate
| } still peaks at 16-20 art/sec, while 2.2-STABLE ran 40-50 peaks.
| 
| If you set 'enableoverview: true' in inn.conf, this may happen.

Since I can't run readers without it I don't see much of a solution
there. If I run 2.2 the readers get poor overview performance, with 2.3
the machines can't accept news fast enough.

I'm going to try a newer snapshot and see if that helps.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Problem with synchronizing
#38535
Author: Katsuhiro Kondou
Date: Thu, 08 Jul 1999 00:00
12 lines
1602 bytes
In article <7ltpv1$1tsa$1@newssvr03-int.news.prodigy.com>,
	davidsen@tmr.com (bill davidsen) wrote;

} Well, yes and no. Incoming article rate is still slow, but it works with
} the option set true. One step in the right direction. Incoming rate
} still peaks at 16-20 art/sec, while 2.2-STABLE ran 40-50 peaks.

If you set 'enableoverview: true' in inn.conf, this may happen.
-- 
Katsuhiro Kondou

Re: Problem with synchronizing
#38543
Author: Katsuhiro Kondou
Date: Fri, 09 Jul 1999 00:00
18 lines
1773 bytes
In article <7m2n6p$avo$1@newssvr03-int.news.prodigy.com>,
	davidsen@tmr.com (bill davidsen) wrote;

} Since I can't run readers without it I don't see much of a solution
} there. If I run 2.2 the readers get poor overview performance, with 2.3
} the machines can't accept news fast enough.

I have the same problem on my testing SS20.  It cannot
keep up with fullfeed, though it can on 2.2.

} I'm going to try a newer snapshot and see if that helps.

I'm writing codes of new overview method which will reduce
overhead of writing overview.
-- 
Katsuhiro Kondou

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