🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by H. Blume von Contributed Mon, 26 Aug 1996 00:00
inn1.4unoff4 expireover memory usage
#10410
Author: H. Blume von Contributed
Date: Mon, 26 Aug 1996 00:00
25 lines
1169 bytes
hullo

what is the memory usage to be expected from 
expireover (-s) ??

i just had a look with top on a freebsd
machine, and it's SIZE was at ~3MB for 20 minutes
and then jumped to 37MB for half an hour, then finished
OK. why?

the reason i ask is, it sometimes fails with 
"Can't remalloc 24989996 bytes, Cannot allocate memory"
although swap use is only at 30% when the process
is at 37M.

pointers?

hb
-- 
email: src@contrib.COM / Heiko.Blume@bln.sel.alcatel.de
TCP/IP GmbH, Woertherstr. 16, 10405 Berlin
Tel: +49.30/443366-0, Fax: +49.30/443366-15

Re: inn1.4unoff4 expireover memory usage
#10424
Author: Steinar Haug
Date: Mon, 26 Aug 1996 00:00
21 lines
1305 bytes
[H. Blume von Contributed]

|   i just had a look with top on a freebsd
|   machine, and it's SIZE was at ~3MB for 20 minutes
|   and then jumped to 37MB for half an hour, then finished
|   OK. why?
|   
|   the reason i ask is, it sometimes fails with 
|   "Can't remalloc 24989996 bytes, Cannot allocate memory"
|   although swap use is only at 30% when the process
|   is at 37M.

I've seen this happen on an Alpha box running INN. I've speculated
that it might be because the OS wants a *contiguous* area of swap
space for the remalloc, and the swap space is fragmented (even if
there is apparently enough of it). No hard data though.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: inn1.4unoff4 expireover memory usage
#10449
Author: H. Blume von Contributed
Date: Tue, 27 Aug 1996 00:00
23 lines
1466 bytes
>>>>> "Steinar" == Steinar Haug <sthaug@nethelp.no> writes:
In article <4vsgpo$36g@verdi.nethelp.no> sthaug@nethelp.no (Steinar Haug) writes:


    Steinar> I've seen this happen on an Alpha box running INN. I've speculated
    Steinar> that it might be because the OS wants a *contiguous* area of swap
    Steinar> space for the remalloc, and the swap space is fragmented (even if
    Steinar> there is apparently enough of it). No hard data though.

mhh, i've never seen it using more than 40% of the 128MB swap...

anyway, i don't really understand why it uses that much
memory in the first place. what the hell does it use over
37MB for?

hb
-- 
email: src@contrib.COM / Heiko.Blume@bln.sel.alcatel.de
TCP/IP GmbH, Woertherstr. 16, 10405 Berlin
Tel: +49.30/443366-0, Fax: +49.30/443366-15

Re: inn1.4unoff4 expireover memory usage
#10463
Author: Mark Hittinger
Date: Tue, 27 Aug 1996 00:00
32 lines
2034 bytes
blume_h@slbwlz.bln.sel.alcatel.de (H. Blume von Contributed) writes:
>>>>>> "Steinar" == Steinar Haug <sthaug@nethelp.no> writes:
>In article <4vsgpo$36g@verdi.nethelp.no> sthaug@nethelp.no (Steinar Haug) writes:
>    Steinar> I've seen this happen on an Alpha box running INN. I've speculated
>    Steinar> that it might be because the OS wants a *contiguous* area of swap
>    Steinar> space for the remalloc, and the swap space is fragmented (even if
>    Steinar> there is apparently enough of it). No hard data though.
>mhh, i've never seen it using more than 40% of the 128MB swap...
>anyway, i don't really understand why it uses that much
>memory in the first place. what the hell does it use over
>37MB for?

I've seen this when people were not taking expired articles or cancelled
articles out of the .overview files.  The .overview files became so large
that expireover became huge.

My favorite group to check for this is misc.jobs.offered.  See how big 
the .overview file is.  It might be 37Mb! :-)  Look for a .overview file that
is around that size.

If this is the case you need to look at setting DOEXPIREOVER=true inside
your news.daily file - and you should periodically run expireover with -s to
clear out cancelled articles.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@netcom.com

Re: inn1.4unoff4 expireover memory usage
#10511
Author: H. Blume von Contributed
Date: Wed, 28 Aug 1996 00:00
28 lines
1669 bytes
>>>>> "Mark" == Mark Hittinger <bugs@freebsd.netcom.com> writes:
In article <4vv9jg$rou@dfw-ixnews1.ix.netcom.com> bugs@freebsd.netcom.com (Mark Hittinger) writes:


    Mark> I've seen this when people were not taking expired articles or cancelled
    Mark> articles out of the .overview files.  The .overview files became so large
    Mark> that expireover became huge.

    Mark> My favorite group to check for this is misc.jobs.offered.  See how big 
    Mark> the .overview file is.  It might be 37Mb! :-)  Look for a .overview file that
    Mark> is around that size.

you are right, 200MB articles in misc.jobs.offered...thanks for the hint.

here's how to clear the worst (.overview >10MB) i found:

echo misc.jobs.offered  | expireover -s -f -
echo talk.politics.misc | expireover -s -f -
echo us.jobs.offered | expireover -s -f -

hb
-- 
email: src@contrib.COM / Heiko.Blume@bln.sel.alcatel.de
TCP/IP GmbH, Woertherstr. 16, 10405 Berlin
Tel: +49.30/443366-0, Fax: +49.30/443366-15

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