From owner-freebsd-questions Thu Jun 26 14:50:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA14515 for questions-outgoing; Thu, 26 Jun 1997 14:50:51 -0700 (PDT) Received: from kaori.communique.net (kaori.Communique.Net [204.27.65.55]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA14507 for ; Thu, 26 Jun 1997 14:50:49 -0700 (PDT) Received: by kaori.Communique.Net with Internet Mail Service (5.0.1457.3) id ; Thu, 26 Jun 1997 16:49:31 -0500 Message-ID: From: Raul Zighelboim To: "'freebsd-questions@freefall.freebsd.org'" Subject: about MAXDSIZ and DFLDSIZ under 2.2.2-RELEASE Date: Thu, 26 Jun 1997 16:49:29 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello there... I am running a news server with 256megs or ram. At some point every morning, afer running news.daily, the server has been crashing with the message: SERVER cant remalloc 16323584 bytes Cannot allocate memory I think I should be able to prevent this from happening by allowing news processes to use as much memory as they want (does this include swap space ?) witht he two options: #options "MAXDSIZ=(256*1024*1024)" #options "DFLDSIZ=(256*1024*1024)" but as it happens, whenever I enable them, nothing other than the kernel will be able to run, with the message 'not enough memory to run application' '-) I cannot find instructions anywhere (except under LINT) for this options. So, the question: What is the correct format of these options, and how do I build the kernel to allow inn (and other news processes) to use as much memory as they want (as long as they dont crash the system), while at the same time allowing me to run code (inn, for example) on thte server ? Thanks.