🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Alex N. Zhuravlev Fri, 31 Mar 2000 00:00
Limiting memory to INN-2.2.2
#45441
Author: Alex N. Zhuravlev
Date: Fri, 31 Mar 2000 00:00
9 lines
962 bytes
Hi all !
Can you please tell me, is there any way ti limit memory usage of
INN-2.2.2 ? At start he gets 24Mb, but in a day I noticed - he was using
34 Mb, if to trust "top" statistics.

Thanx.
Alex N. Zhuravlev.

Re: Limiting memory to INN-2.2.2
#45448
Author: Russ Allbery
Date: Fri, 31 Mar 2000 00:00
15 lines
1245 bytes
Alex N Zhuravlev <alx@scn.ru> writes:

> Can you please tell me, is there any way ti limit memory usage of
> INN-2.2.2 ? At start he gets 24Mb, but in a day I noticed - he was using
> 34 Mb, if to trust "top" statistics.

Decrease the size of your history file and use tagged hash.  But INN is a
memory hog; that isn't very much memory for a typical innd process.  If
that's more resources than you want to give it, you may want to look at
one of the small site news servers like leafnode instead.

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

Re: Limiting memory to INN-2.2.2
#45481
Author: Russ Allbery
Date: Sun, 02 Apr 2000 00:00
18 lines
1360 bytes
Alex N Zhuravlev <alx@scn.ru> writes:

> How can I decrease it's size ? I am a newcomer to INN.

To decrease the size of the history file, you pretty much have to keep
fewer articles around.  Alternately, if you only have one feed, you can
turn off remembertrash in inn.conf and that will save you some space.  But
the history file is generally going to be rather large.

> And what is the advantages of the tagged hash ?

Less memory usage.  (It's somewhat slower and a more complicated
algorithm, but it doesn't use as large of a hash file.)

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

Re: Limiting memory to INN-2.2.2
#45486
Author: Russ Allbery
Date: Mon, 03 Apr 2000 00:00
21 lines
1604 bytes
Geoff Wilson <gmwils@eisa.net.au> writes:

> Doesn't having a shorter "remember" time in expire.ctl also reduce the
> size of the history file? I was under the impression that this was the
> only setting that had any effect in expire.ctl using CNFS.

Oh, yes, I should have mentioned that first.  That's the best way.  In
particular, reducing it to 7 or a bit less is probably safe (make sure
that artcutoff in inn.conf matches that setting).

> The annoying thing is that you need to recompile the server in order to
> use it as it is a configure option. You will also need to rebuild your
> history database files using makehistory. (read the man page for this
> one).

Yup.  To be eventually fixed....

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

Re: Limiting memory to INN-2.2.2
#45499
Author: Alex N. Zhuravlev
Date: Mon, 03 Apr 2000 00:00
12 lines
1053 bytes
Hi All !
 
> Decrease the size of your history file and use tagged hash.  But INN is 

How can I decrease it's size ? I am a newcomer to INN. And what is the
advantages of the tagged hash ?

Thanks.

Alex N. Zhuravlev.

Re: Limiting memory to INN-2.2.2
#45517
Author: Geoff Wilson
Date: Tue, 04 Apr 2000 00:00
32 lines
2210 bytes
Russ Allbery <rra@stanford.edu> wrote on the 02 Apr 2000 20:14:52 -0700:
> Alex N Zhuravlev <alx@scn.ru> writes:

>> How can I decrease it's size ? I am a newcomer to INN.

> To decrease the size of the history file, you pretty much have to keep
> fewer articles around.  Alternately, if you only have one feed, you can
> turn off remembertrash in inn.conf and that will save you some space.  But
> the history file is generally going to be rather large.

Doesn't having a shorter "remember" time in expire.ctl also reduce the size of
the history file? I was under the impression that this was the only setting
that had any effect in expire.ctl using CNFS.

>> And what is the advantages of the tagged hash ?

> Less memory usage.  (It's somewhat slower and a more complicated
> algorithm, but it doesn't use as large of a hash file.)

The annoying thing is that you need to recompile the server in order to use it
as it is a configure option. You will also need to rebuild your history 
database files using makehistory. (read the man page for this one).

Geoff

-- 
	a paranoid is just someone with all of the facts at his disposal
		- william seaward burroughs  1914-1997 

Geoff M. Wilson <gmwils@zark.thedonkeys.org>  www.zark.thedonkeys.org/~gmwils

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