Article View: news.software.nntp
Article #38128Re: Expire malloc error on Digital UNIX 4.0D
From: David LaPorte
Date: Fri, 18 Jun 1999 00:00
Date: Fri, 18 Jun 1999 00:00
46 lines
2478 bytes
2478 bytes
Yes a "ulimit -d" shows the exact ulimit I just entered. Below is the output of "ulimit -a" immediately before I run an expire. The data segment has four times as much memory as the malloc requires and yet it still bombs out. Dave LaPorte [news@plato news]$ ulimit -d 800000 [news@plato news]$ ulimit -a core file size (blocks) unlimited data seg size (kbytes) 800000 file size (blocks) unlimited max memory size (kbytes) 1022040 open files 4096 pipe size (512 bytes) 8 stack size (kbytes) 2048 cpu time (seconds) unlimited max user processes 267 virtual memory (kbytes) 1048576 Russ Allbery <rra@stanford.edu> wrote: : David LaPorte <dlaporte@ccs.neu.edu> writes: :> I'm also seeing a malloc problem when expire runs. I am running INN2.2 :> on Digital UNIX 4.0D and have set the ulimit correctly (long ago I ran :> into malloc problems and a ulimit -d 800000 solved them). The partition :> where the history file lives has over 11GB free. I have 1GB of physical :> memory and 5GB of swap (I wanted to make sure this wasn't a capacity :> issue). Top reports 500+MB free, but when I run expire (either manually :> after having set ulimit or through new.daily), I get: :> Expire messages: :> expire begin Thu Jun 17 03:02:19 EDT 1999: (-v1 -c -e :> -z/usr/local/news/log/expire.rm -u/usr/local/news/log/expire.index.rm :> -Z/usr/local/news/log/expire.lowmark) :> Can't malloc 201947508 bytes, Not enough space : If you run limit, does it confirm that the data size has been increased? : That really looks like it's still running into some sort of data size : limit. : -- : Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<7kdh8f$ip1$1@camelot.ccs.neu.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-mailReferences:
<7kb5a8$gjh$1@camelot.ccs.neu.edu> <ylu2s65qwm.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7kdh8f$ip1$1@camelot.ccs.neu.edu> Subject: Re: Expire malloc error on Digital UNIX 4.0D Date: Fri, 18 Jun 1999 00:00:00 +0000 From: David LaPorte <dlaporte@ccs.neu.edu> References: <7kb5a8$gjh$1@camelot.ccs.neu.edu> <ylu2s65qwm.fsf@windlord.stanford.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 X-Deja-AN: 491056569 Organization: Northeastern University, College of Computer Science User-Agent: tin/pre-1.4-980514 (UNIX) (SunOS/4.1.4 (sun4m)) Newsgroups: news.software.nntp