🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74029

Re: failed to malloc

#74029
From: ays
Date: Sun, 13 Aug 2006 21:39
61 lines
3444 bytes
the history file is 0 bytes and contains nothing.
-rw-r--r--    2 news     news            0 Aug 13 03:09 history
-rw-r--r--    1 news     news           43 Aug 13 02:59 history.dir
-rw-r--r--    1 news     news            0 Aug 13 02:59 history.hash
-rw-r--r--    1 news     news            0 Aug 13 02:59 history.index
-rw-r--r--    2 news     news            0 Aug 13 03:09 history.n
-rw-r--r--    1 news     news           43 Aug 13 03:09 history.n.dir
-rw-r--r--    1 news     news            0 Aug 13 03:09 history.n.hash
-rw-r--r--    1 news     news            0 Aug 13 03:09 history.n.index

There might be an artificial limit on memory set somewhere (no idea where to
look to find out), as this is set up on a VPS account using CentOS and
Virtuozza, but has 10gb storage and 512 ram allotted to it. I'm somewhat
linux illiterate, but ulimit -a returns:
root@host [/]# ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 133120
virtual memory        (kbytes, -v) unlimited

The results just add to my puzzlement. Everything appears as it should work
fine, INN does work, I just can't restore the backup of posts.

ays

..
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:ebngm4$b42$1@puck.litech.org...
> In article <12dtdvpq2mp4i43@corp.supernews.com>,
> ays <serenity@OBVIOUSc-zone.net> wrote:
> >
> >makehistory: failed to malloc 60000000 bytes at dbz.c line 1282: Cannot
> >allocate memory
> >
> >Searched threads, found article with similar error suggesting:
> >Probably you need to use the -s flag.
> >
> >Try `wc -l history` to get an estimate of what number to use.
> >
> >Tried both (but I probably need more detailed instructions), same error
> >generated.
>
> Well, how many lines were in your history file?
>
> But, realistically, you should have no trouble allocating 60 MB
> anyway.  What happens if you run `ulimit -a`?  Is there an
> artificial limit on max memory size causing you trouble?
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org

Technical Details
Message-ID: <12dv6uv259ra536@corp.supernews.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!jussieu.fr!freenix!sn-xt-sjc-04!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
References: <12dtdvpq2mp4i43@corp.supernews.com> <ebngm4$b42$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <12dv6uv259ra536@corp.supernews.com>
Subject: Re: failed to malloc
Date: Sun, 13 Aug 2006 14:39:08 -0700
From: "ays" <serenity@OBVIOUSc-zone.net>
References: <12dtdvpq2mp4i43@corp.supernews.com> <ebngm4$b42$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!jussieu.fr!freenix!sn-xt-sjc-04!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Posted via Supernews, http://www.supernews.com
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Complaints-To: abuse@supernews.com
Lines: 61