🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Christoffer Hall-Frederiksen Fri, 07 May 1999 00:00
Use of memory during expire
#37310
Author: Christoffer Hall-Frederiksen
Date: Fri, 07 May 1999 00:00
24 lines
1532 bytes
Hi.

I'm running a inn-2.2 site, witch is rather small. I do not receive a
lot of groups (a choice naturally). I constantly have between 7-9 GB
lying around - and I receive about 800-100 MB each day. As it turned
out expiering is extremly hard at night, and takes severeal hours.
I light of this, I decided to expire more often (without rotating,
reporting etc). Actually I can only come down to a respectable load
if I expire every two hours. But I have found out, that expireover
runs completely wild and uses more that 300 MB memory. Can anybody
explain this to me - og tell me what I could to to reduce this?

Thank you in advance.

-- 
	christoffer

	If builders built buildings the way programmers wrote programs, 
	then the first woodpecker that came along would destroy civilisation. 

		Gerald Weinberg

Re: Use of memory during expire
#37349
Author: Sylvio Runge
Date: Mon, 10 May 1999 00:00
25 lines
1822 bytes
Hello,

> 
> I'm running a inn-2.2 site, witch is rather small. I do not receive a
> lot of groups (a choice naturally). I constantly have between 7-9 GB
> lying around - and I receive about 800-100 MB each day. As it turned
> out expiering is extremly hard at night, and takes severeal hours.
> I light of this, I decided to expire more often (without rotating,
> reporting etc). Actually I can only come down to a respectable load
> if I expire every two hours. But I have found out, that expireover
> runs completely wild and uses more that 300 MB memory. Can anybody
> explain this to me - og tell me what I could to to reduce this?
- Use the " CNFS " storage-method
- let " expire " (with expireover) each night run
- change "expire.ctl": 
    /remenber/:1  (each day look whether items is still there -> the
size reduces " history "     enormously)
- increase your RAM
- increase the "hicachesize" for inn
- the Spoolen tries to reduce during the expire arrangement

Greetings
 S.

Re: Use of memory during expire
#37353
Author: Ronald Hello
Date: Mon, 10 May 1999 00:00
27 lines
1716 bytes
In article <xnxogjxmd16.fsf@vidar.diku.dk>,
	Christoffer Hall-Frederiksen <hall@vidar.diku.dk> writes:
> 
> Hi.
> 
> I'm running a inn-2.2 site, witch is rather small. I do not receive a
> lot of groups (a choice naturally). I constantly have between 7-9 GB
> lying around - and I receive about 800-100 MB each day. As it turned
> out expiering is extremly hard at night, and takes severeal hours.
> I light of this, I decided to expire more often (without rotating,
> reporting etc). Actually I can only come down to a respectable load
> if I expire every two hours. But I have found out, that expireover
> runs completely wild and uses more that 300 MB memory. Can anybody
> explain this to me - og tell me what I could to to reduce this?

Sounds like a problem with large groups. Do you clean your
cancel-group? Do you expire the job-groups fast enough?

Ronald.

-- 
// Ronald Hello  (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands

Re: Use of memory during expire
#37376
Author: Arthur Hagen
Date: Tue, 11 May 1999 00:00
39 lines
2704 bytes
In article <xnxogjslyqr.fsf@vidar.diku.dk>, Christoffer Hall-Frederiksen <hall@vidar.diku.dk> writes:
> Sylvio Runge <runge@boerde.de> writes:
> > - Use the " CNFS " storage-method
> 
> Thanks for your advice. I actually run an inn in two different places.
> One site uses a linux box (where cnfs works fine) and at work where
> inn runs on a HPUX 10.20 where I cannot get CNFS to work. I get all
> kinds of strange error and inconsistencies. Has anybody succesfully 
> run a inn with cnfs on a HPUX?

INN 2.2 with CNFS doesn't work well on HP-UX 10.20.  If you turn off all
memory mapping options you can (I think there's three in the various
config files), it will run ok as a feeding server.  For client
accesses, though, it won't work well at all.  The history won't be in
synch with the overview as seen from the client, and the client will
only find old articles.  We've had to run an expire every 4 hours,
which at least lets the users get access to 4 hours old news.
Unfortunately, what's arrived since the last expire will never show up
on clients like Netscape, because the client won't receive the overview
for the article.  When a client has finished reading a group, the
newsrc counter in the client is set to the highest message number, and
this will be higher than the last one there's an overview entry for. 
So news will get lost to clients using (at least) Netscape, unless they
manually bump down their .newsrc highest read article number and
deletes their overview index (*.srm, I think).
And yes, I believe this is caused by mmap() not working across
multiple processes on HP-UX, even if using msync().

I wouldn't recommend HP-UX as a news server anyhow, since its file
I/O gets incredibly slow as the number of used inodes increase.

And no, I don't think these problems have been fixed for HP-UX 11.0

Regards,
-- 
*Art

Re: Use of memory during expire
#37384
Author: Katsuhiro Kondou
Date: Tue, 11 May 1999 00:00
16 lines
1627 bytes
In article <xnxogjslyqr.fsf@vidar.diku.dk>,
	Christoffer Hall-Frederiksen <hall@vidar.diku.dk> wrote;

} One site uses a linux box (where cnfs works fine) and at work where
} inn runs on a HPUX 10.20 where I cannot get CNFS to work. I get all
} kinds of strange error and inconsistencies. Has anybody succesfully 
} run a inn with cnfs on a HPUX?

I've heard the limitation of HPUX which I don't know if
it's true, that multiple mmap for the same area is not
allowed by OS.  This means only one process can use one
cycbuff.
-- 
Katsuhiro Kondou

Re: Use of memory during expire
#37394
Author: Christoffer Hall-Frederiksen
Date: Tue, 11 May 1999 00:00
14 lines
1193 bytes
Sylvio Runge <runge@boerde.de> writes:
> - Use the " CNFS " storage-method

Thanks for your advice. I actually run an inn in two different places.
One site uses a linux box (where cnfs works fine) and at work where
inn runs on a HPUX 10.20 where I cannot get CNFS to work. I get all
kinds of strange error and inconsistencies. Has anybody succesfully 
run a inn with cnfs on a HPUX?


-- 
	Christoffer

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