🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Navindra Umanee Sun, 24 May 1998 00:00
expireover failing mysteriously
#28339
Author: Navindra Umanee
Date: Sun, 24 May 1998 00:00
24 lines
1270 bytes
Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
and 130M of swap.

My problem is that expireover seems to keep failing with messages such
as:

[day 1]
Can't remalloc 19093283 bytes, Cannot allocate memory

[day 2]
Can't remalloc 32645788 bytes, Cannot allocate memory

[day X -- it can't remalloc some stupid number like 300M]

Does anyone have any idea on what might be going wrong?  Should I
increase swap?

Thanks,
Navin
-- 
"Evolution is not only about survival, it's about domination."  --Prey

Re: expireover failing mysteriously
#28341
Author: patricks
Date: Sun, 24 May 1998 00:00
45 lines
1872 bytes
You probably need "unlimit". Check out the man page.

64M of RAM isn't much either.

Kind Regards,

Patrick Schreurs.

--
                         Ing. W.P. Schreurs
 S u p p o r t   N e t   Email: patrick@support.nl
                         WWW: http://www.support.nl/
       Partner in        Personal Homepage: http://www.support.nl/~patrick/
    Internetworking      Kruislaan 419, 1098 VA Amsterdam, The Netherlands
                         Phone: +31 (0)20 693 54 54, Fax: +31 (0)20 668 61 66

On 24 May 1998, Navindra Umanee wrote:

> Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
> and 130M of swap.
> 
> My problem is that expireover seems to keep failing with messages such
> as:
> 
> [day 1]
> Can't remalloc 19093283 bytes, Cannot allocate memory
> 
> [day 2]
> Can't remalloc 32645788 bytes, Cannot allocate memory
> 
> [day X -- it can't remalloc some stupid number like 300M]
> 
> Does anyone have any idea on what might be going wrong?  Should I
> increase swap?
> 
> Thanks,
> Navin
> -- 
> "Evolution is not only about survival, it's about domination."  --Prey
> 
> 


Re: expireover failing mysteriously
#28347
Author: gerg Greg Andrews
Date: Sun, 24 May 1998 00:00
38 lines
1766 bytes
miquels@cistron.nl (Miquel van Smoorenburg) writes:
>In article <6k9oc0$sgp@sifon.cc.mcgill.ca>,
>Navindra Umanee  <navindra@cs.mcgill.ca> wrote:
>>Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
>>and 130M of swap.
>>My problem is that expireover seems to keep failing with messages such
>>as:
>>
>>[day 1]
>>Can't remalloc 19093283 bytes, Cannot allocate memory
>>
>>[day 2]
>>Can't remalloc 32645788 bytes, Cannot allocate memory
>>
>>[day X -- it can't remalloc some stupid number like 300M]
>
>This means you have a *very big* .overview file somewhere. Do something
>like this to find it:
>
>cd /var/spool/news (/over.view if you have it)
>
>find . -name .overview | xargs du | sort -rn > output
>

No need to fork even a few du processes to get the file sizes:

  find . -name -size +12000000c -ls > output

That will list files larger than 12 million bytes and ignore the
smaller ones.  Adjust the '12000000' to suit your particular query.

IMO, if you want a sorted list, sort it when you view the output
file, not while you create it.

  -Greg

Re: expireover failing mysteriously
#28355
Author: Ian Stirling
Date: Sun, 24 May 1998 00:00
37 lines
2421 bytes
Greg Andrews <gerg@shell.> wrote:
: miquels@cistron.nl (Miquel van Smoorenburg) writes:
:>In article <6k9oc0$sgp@sifon.cc.mcgill.ca>,
:>Navindra Umanee  <navindra@cs.mcgill.ca> wrote:
:>>Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
:>>and 130M of swap.
:>>My problem is that expireover seems to keep failing with messages such
:>>as:
:>>
:>>[day 1]
:>>Can't remalloc 19093283 bytes, Cannot allocate memory
:>>
<snip>
: No need to fork even a few du processes to get the file sizes:

:   find . -name -size +12000000c -ls > output

Of course -size 120000k works too.
-size 120M would be nice.

: That will list files larger than 12 million bytes and ignore the
: smaller ones.  Adjust the '12000000' to suit your particular query.

: IMO, if you want a sorted list, sort it when you view the output
: file, not while you create it.

:   -Greg

-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
Acting is merely the art of stopping a large number of people from coughing 
Sir Ralph Richardson


Re: expireover failing mysteriously
#28359
Author: Miquel van Smoorenburg
Date: Sun, 24 May 1998 00:00
35 lines
1665 bytes
In article <6k9oc0$sgp@sifon.cc.mcgill.ca>,
Navindra Umanee  <navindra@cs.mcgill.ca> wrote:
>Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
>and 130M of swap.
>My problem is that expireover seems to keep failing with messages such
>as:
>
>[day 1]
>Can't remalloc 19093283 bytes, Cannot allocate memory
>
>[day 2]
>Can't remalloc 32645788 bytes, Cannot allocate memory
>
>[day X -- it can't remalloc some stupid number like 300M]

This means you have a *very big* .overview file somewhere. Do something
like this to find it:

cd /var/spool/news (/over.view if you have it)

find . -name .overview | xargs du | sort -rn > output

Then check in "output" which .overview file it is. Most probably it is
the cancel/over.view file .. aliasing out "cyberspam" for your overchan
feed will help a lot.

Alternatively rebuild the overview data from scratch with expireover -a

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.

Re: expireover failing mysteriously
#28371
Author: Mike Tancsa
Date: Mon, 25 May 1998 00:00
25 lines
1286 bytes
On 24 May 1998 18:19:44 GMT, Navindra Umanee <navindra@cs.mcgill.ca>
wrote:

>Hi, I'm running INN 1.7.2 on a FreeBSD 2.2.6 machine with 64M of RAM
>and 130M of swap.
>
>My problem is that expireover seems to keep failing with messages such
>as:
>
>[day 1]
>Can't remalloc 19093283 bytes, Cannot allocate memory

1. Check the resource limits for the ID that runs the expire process.
Also, check the login.conf values.  If you use CVSUP, get the latest
out of /usr/src/etc/login.conf
2. Look for some massive .overview file.  Usual suspects are in the
*.jobs.* groups... Also, get rid of the control messages as fast as
possible.
3. Check to see if you are using any odd overchan flags in your
newsfeeds file.

	---Mike

Re: expireover failing mysteriously
#28384
Author: gerg Greg Andrews
Date: Mon, 25 May 1998 00:00
23 lines
1358 bytes
Ian Stirling <0000356898AE.NO_UCE@mauve.demon.co.uk> writes:
>Greg Andrews <gerg@shell.> wrote:
>
>: No need to fork even a few du processes to get the file sizes:
>
>:   find . -name -size +12000000c -ls > output
>
>Of course -size 120000k works too.
>-size 120M would be nice.
>

Depends on which find you're using.  The 'k' is a syntax error on
my FreeBSD 2.2.2 system, and it was an error on the SunOS 4.x find.
Solaris 2.5.x and 2.6 support it, though.

Of course, you don't want to leave off the '+', or find will only
list the files that are exactly 12 megs instead of larger than 12
megs.

  -Greg

Re: expireover failing mysteriously
#28399
Author: Navindra Umanee
Date: Mon, 25 May 1998 00:00
14 lines
1156 bytes
At one point in cyberspacetime, 
Miquel van Smoorenburg <miquels@cistron.nl> wrote:

> This means you have a *very big* .overview file somewhere. Do something
> like this to find it:

Thanks to all for the quick replies.  I've gotten rid of the 35M+
.overview file in control/cancel and the problem seems to have gone
away for now.

Navin

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