🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32815

Re: inn 2.1 & DU4.0D problem

#32815
From: Robert Sandford
Date: Tue, 10 Nov 1998 00:00
58 lines
3198 bytes
I posted this same problem about a week ago and got a response from Mike Fagan.
Mike suggested to me to put "ulimit -d 800000" in the news.daily file. Our DU
4.0 has half a gig of ram so I set the limit to 400000. After having put this in
the news.daily my problems went away. No more malloc errors!

Mike Fagan wrote:
>In any case, what I had to do to fix our server was put a ulimit command
>third line of the script.  You may need to lower that value though, as on
>our system we've got a gig of memory, so setting the max datasize to 800
>megs is okay, if you have less you'll need to lower the value.
>
>If you set it higher, near your max memory, and still have problems, you
>may need to re-compile inn with the (pardon me if this is incorrect look
>to the INSTALL file...) --enable-tagged-hash.  This will let you run inn
>with less memory, though it will be a bit slower.


Nikica Skunca wrote:

> Hi!
>
> Last week I installed inn 2.1 (with CNFS) on Digital Alpa
> (512MB/35GB/Digital Unix 4.0D), and it worked fine until yesterday!
>
> I use news.daily with following keywords and flags:
> /usr/local/news/bin/news.daily expireover lowmark flags='-v1 -c -N'
>
> Everithing worked fine (articles expired according to expire.ctl file), but
> now expire.log look like this:
> expire begin Fri Nov  6 10:48:31 MET 1998:
> (-v1 -c -N -z/usr/local/news/log/expi
> re.rm -u/usr/local/news/log/expire.index.rm -Z/usr/local/news/log/expire.low
> mark
> )
>     Can't malloc 161899160 bytes, Not enough space
> expire end Fri Nov  6 10:48:32 MET 1998
>         all done Fri Nov  6 10:48:32 MET 1998
> lowmarkrenumber begin Fri Nov  6 10:48:32 MET 1998:
> (/usr/local/news/log/expire.
> lowmark)
> lowmarkrenumber end Fri Nov  6 10:48:32 MET 1998
>         expireindex start Fri Nov  6 10:48:32 MET 1998
>         expireindex end Fri Nov  6 10:48:32 MET 1998
>
> It looks like system cannot allocate enough memory for expire (with 512MB
> RAM?!). I suposed that there is a memory leek, but right after shutdown same
> thing happened again!
> Before I try to compile inn with gnumalloc (according to FAQs it works
> better than original malloc) maybe someone could help me with some advice or
> explain me what is going on.
>
> Thanks in advance.
>
> Nikica Skunca
> nikica.skunca@tel.hr


Technical Details
Message-ID: <3648A4E1.6EE065D8@marietta.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <71uhrv$gmf$1@as102.tel.hr>

Show Full Headers
Complete Article Headers
Message-ID: <3648A4E1.6EE065D8@marietta.edu>
Subject: Re: inn 2.1 & DU4.0D problem
Date: Tue, 10 Nov 1998 00:00:00 +0000
From: Robert Sandford <sandforr@marietta.edu>
References: <71uhrv$gmf$1@as102.tel.hr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 410452802
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@marietta.edu
X-Trace: mcnet.marietta.edu 910730544 3760 205.133.147.67 (10 Nov 1998 20:42:24 GMT)
Organization: Marietta College
Mime-Version: 1.0
Reply-To: sandforr@marietta.edu
NNTP-Posting-Date: 10 Nov 1998 20:42:24 GMT
Newsgroups: news.software.nntp