🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Mike Perez Thu, 21 Nov 1996 00:00
INN remalloc errors?
#12544
Author: Mike Perez
Date: Thu, 21 Nov 1996 00:00
15 lines
947 bytes
Greetings... 

	Has anyone ever seen these errors before?  This machine is a Sparc
5, with 192M of real memory and 660M of swap.  This machine is not a 
production machine yet and is just receiving articles to populate its spool 
(when it actually stays up, that is).  The error is thus:

Nov 21 00:06:18 news6 innd: ME cant remalloc 1932487936 bytes Resource temporarily unavailable

Any insight would be appreciated.

- Mike

Re: INN remalloc errors?
#12561
Author: James Brister
Date: Thu, 21 Nov 1996 00:00
26 lines
1433 bytes
benny@nntp.best.com (Mike Perez) writes:

> 	Has anyone ever seen these errors before?  This machine is a Sparc
> 5, with 192M of real memory and 660M of swap.  This machine is not a 
> production machine yet and is just receiving articles to populate its spool 
> (when it actually stays up, that is).  The error is thus:
> 
> Nov 21 00:06:18 news6 innd: ME cant remalloc 1932487936 bytes Resource temporarily unavailable
> 
> Any insight would be appreciated.

You don't say which version, but there are some ugly memory bugs in 1.4
that got fixed in 1.5. As this is not a production machine yet, you could
grab

	ftp://ftp.vix.com/pub/inn/inn-1.5b2.tar.gz

and probably run fairly happily.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Re: INN remalloc errors?
#12595
Author: Frank Durda IV
Date: Fri, 22 Nov 1996 00:00
35 lines
2179 bytes
Mike Perez wrote:
>         Has anyone ever seen these errors before?  This machine is a Sparc
> 5, with 192M of real memory and 660M of swap.  This machine is not a
> production machine yet and is just receiving articles to populate its spool
> (when it actually stays up, that is).  The error is thus:
> 
> Nov 21 00:06:18 news6 innd: ME cant remalloc 1932487936 bytes Resource temporarily unavailable
> 
> Any insight would be appreciated.

We had this problem when we increased the speed of the system and started
out-running the sites we were feeding.  It turned out to NOT be a memory leak.

We were using stdout NNTPLINK for xmit and it apparently allocates RAM to
hold the backlog and will do so without bound.   Some of our feeds get
seriously behind (407 Meg spool files in /usr/spool/news/out.going).

By adding the  Snnnn parameter, the excess is held on disk.  Out of
control allocation ceased instantly.   Example:

xyz/newsfeed.xyz.com:!*,dfw.*,tx.*/!internal.* \
        :Tc,Wnm,S65536:/usr/local/news/bin/nntplink -a 1000 -L -k -i stdin \
        newsfeed.xyz.com

There are some other modes the transmissions can be run in (like funnel)
that also avoid this problem.


Frank Durda IV <uhclem@nemesis.lonestar.org>|"The Knights who say "LETNi"
or uhclem%nemesis@rwsystr.nkn.net           | demand...  A SEGMENT REGISTER!!!"
                                            |"A what?"
or ...letni!rwsys!nemesis!uhclem            |"LETNi! LETNi! LETNi!"  - 1983

Re: INN remalloc errors?
#13052
Author: Anne Bennett
Date: Fri, 06 Dec 1996 00:00
35 lines
1449 bytes
Mike Perez writes:
>>         Has anyone ever seen these errors before?  

Yes: cant remalloc [...] Not enough space


I added:

   ulimit -H -d  unlimited
   ulimit -S -d  unlimited
   ulimit -H -s  unlimited
   ulimit -S -s  unlimited
   ulimit -H -m  unlimited
   ulimit -S -m  unlimited

before

   ( echo '...starting innd.' >/dev/console )
   eval ${WHAT} ${RFLAG} ${FLAGS}

in rc.news, to just let innd use as much memory as it wants, and it
seems happy now.

This is probably not the "correct" fix, but it keeps the machine going
until I have time to do something better.



Anne.
--
Ms. Anne Bennett          anne@alcor.concordia.ca            (514) 848-7606
Computing Services,   Concordia University,   Montreal QC,   Canada H3G 1M8

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