🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10853

Re: ME cant remalloc...

#10853
From: Lyndon Levesley
Date: Fri, 13 Sep 1996 00:00
62 lines
2243 bytes
In article <51bfbj$23l@marge.eaglequest.com>,
Vince Vielhaber <vev@michvhf.com> wrote:
>
>In the last couple of days INND has been dying because of:
>
>ME cant remalloc xx bytes Cannot allocate memory
>
>The system's been running fine for months.  Inn1.4unoff4 on FreeBSD 2.1
>and nothing's changed.
>
>So I look at the FAQ and it says to add:
>
>unlimit datasize
>
>to the beginning of the rc.news file.  But rc.news runs in /bin/sh and
>(at least on this OS) unlimit cannot be found by the shell:
>
>$ unlimit datasize
>unlimit: not found
>$
>
>Besides the kernal change (that I haven't even looked at yet) is there
>an easy solution?  semi-easy solution?  

in sh, you can use the ulimit command to perform your limitting, or
(if for some reason this won't work) you can try the following dirty
hack :

        [ sh code here ]
        /bin/csh -f <<EOF
        # Let us use more open files
        limit descriptors 1024
        # Stop malloc errors - unlimit my max datasize
        unlimit datasize
        EOF
        [ back to sh code here ]

 For ulimit, look at man ulimit and the commands "ulimit -n" and "ulimit -d"
etc.

 Be a bit wary of the max open files limit (limit descriptors xxxx) as it
may adversely affect the performance of your system - it may be better to
tweak the number of max open files that INN uses, rather than the number
that your system can handle.

>
>Thanks in advance,
>Vince.

Hope this helps,

Lyndon Levesley
Xara Networks

-- 

If you give up smoking, drinking and sex you may not actually live longer...
...It may just feel that way.
                                  Clement Freud

Technical Details
Message-ID: <51bis4$ljl@diamond.xara.net>
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: <51bfbj$23l@marge.eaglequest.com>

Show Full Headers
Complete Article Headers
Message-ID: <51bis4$ljl@diamond.xara.net>
Subject: Re: ME cant remalloc...
Date: Fri, 13 Sep 1996 00:00:00 +0000
From: "Lyndon Levesley" <lyndon@xara.net>
References: <51bfbj$23l@marge.eaglequest.com>
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: 180359487
Sender: lol@news.xara.net
Organization: Xara Networks Ltd
Newsgroups: news.software.nntp