Article View: news.software.nntp
Article #18344expireover: cannot alloc -- whoops?!
From: Lukas Wunner
Date: Sun, 08 Jun 1997 00:00
Date: Sun, 08 Jun 1997 00:00
45 lines
2062 bytes
2062 bytes
I'm having a hard time getting "expireover -a" to work; expireover will always bail out with the following error message: bash$ expireover -a Can't malloc 73496842 bytes, Cannot allocate memory That is exactly the size of the .overview file of the control newsgroup. Obviously, expireover tries to read it in at once, but fails because of memory constraints. This did work before, that problem has only occured ever since I increased the expire time, so the .overview files began to increase in size heavily. The shell's limits seem to look good: bash$ ulimit -a core file size (blocks) unlimited data seg size (kbytes) 131072 file size (blocks) unlimited max memory size (kbytes) unlimited stack size (kbytes) 65536 cpu time (seconds) unlimited max user processes 1024 pipe size (512 bytes) 1 open files 1024 virtual memory (kbytes) 196608 Also, there's a fair amount of real memory and swap space installed: bash$ /usr/sbin/swapinfo -k Device 1K-blocks Used Avail Capacity Type /dev/sd0s1b 204800 20000 184736 10% Interleaved /dev/sd1c 4248480 16196 4232220 0% Interleaved Total 4453152 36196 4416956 1% I guess 4 GBytes ought to suffice. ;-) Well I can't think of any other reason why expireover should fail, so any hints are greatly appreciated. I am using INN 1.5.1 on a FreeBSD 2.1.6 box. Thanks, Lukas.
Technical Details
Message-ID:
<5nelqt$1ua$1@sun579.rz.ruhr-uni-bochum.de>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-mailShow Full Headers
Complete Article Headers
Message-ID: <5nelqt$1ua$1@sun579.rz.ruhr-uni-bochum.de> Subject: expireover: cannot alloc -- whoops?! Date: Sun, 08 Jun 1997 00:00:00 +0000 From: lukas@phoenix.tp1.ruhr-uni-bochum.de (Lukas Wunner) 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: 247062566 Organization: Theoretische Physik 1, Ruhr Universitaet Bochum Reply-To: lukas@tp1.ruhr-uni-bochum.de Newsgroups: news.software.nntp