From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96567690229604.tru64-unix-managers.marc@archive.invalid> From: Kerry Digou Date: Mon, 07 Aug 2000 19:35:16 +0000 To: tru64-unix-managers Subject: Summary: Malloc Problems stopping expire X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96567690229604 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@alaska.edu P. O. Box 755320 Phone: (907) 474-5545 910 Yukon Dr., Suite 105 Fax: (907) 474-7127 Fairbanks, AK 99775-5320 #include