From owner-freebsd-hackers Fri Jun 27 05:35:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA19514 for hackers-outgoing; Fri, 27 Jun 1997 05:35:28 -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 FAA19509 for ; Fri, 27 Jun 1997 05:35:25 -0700 (PDT) Received: by kaori.Communique.Net with Internet Mail Service (5.0.1457.3) id ; Fri, 27 Jun 1997 07:34:02 -0500 Message-ID: From: Raul Zighelboim To: "'freebsd-hackers@freefall.freebsd.org'" Subject: about MAXDSIZ and DFLDSIZ under 2.2.2-RELEASE Date: Fri, 27 Jun 1997 07:34:00 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [Raul Zighelboim] Hello! I posted the following to freebsd-questions, but I did not received any response (probably because I was not subscribed to that list :-( )..... So, here I go again: > 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.