Summary: Malloc Problems stopping expire

From: Kerry Digou <sxkmd_at_alaska.edu>
Date: Mon, 07 Aug 2000 11:35:16 -0800

Thanks to Serguei Patchkovskii, John P Speno and compaq support:

>From Serguei:
Well, that's easy. If you are in a hurry, fire up dxkerneltuner, and
increase the maximum limits for max-per-proc-data-size and
max-per-proc-address-space in the proc group. By default, these are set
to 1G.

>From compaq support:
Additionally you need to increase vm-maxvas in the vm group.

In the end rather than running the expire, we moved the old history
files and rebuilt them from scratch, in this case it was shorter.

>From John:
Change the cron entry to use a ulimit such as:
59 0 * * * ulimit -d 1048576 ; /usr/local/news/bin/news.daily ...

> I am getting the following error on my news server when attempting to
> run expire:
>
> expire begin Fri Jul 7 04:16:50 AKDT 2000: (-v1)
> dbz.c:1296 Can't malloc 1196703096 bytes: Not enough space
> expire end Fri Jul 7 04:16:51 AKDT 2000
>
> >From what I've read it appears the problem is the data segment is too
> low, but I can't increase it above the virtual memory size, and I can't
> increase that limit even though I have plenty of swap.
>
> ulimit -d
> 1048576
> ulimit -v
> 1048576
>
> I've seen the problem listed in the archives, but I didn't see a
> solution. The box is a XP1000 with 512M of memory.
>
> Any help is appreciated.

--
Kerry Digou
Systems Programer III
University of Alaska
Information Technology Services
Email                           Snail Mail
kerry.digou_at_alaska.edu          P. O. Box 755320
Phone: (907) 474-5545           910 Yukon Dr.,  Suite 105
Fax:   (907) 474-7127           Fairbanks, AK  99775-5320
#include <stddisclaimer.h>
Received on Mon Aug 07 2000 - 19:36:44 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT