From owner-freebsd-questions Thu Jan 16 16: 5:15 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 118D537B401 for ; Thu, 16 Jan 2003 16:05:14 -0800 (PST) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BA843EB2 for ; Thu, 16 Jan 2003 16:05:12 -0800 (PST) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 19664 invoked by uid 82); 17 Jan 2003 00:00:49 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by mail.au.darkbluesea.com with SMTP; 17 Jan 2003 00:00:49 -0000 Subject: Re: Increase memory limit ? From: Duncan Anker To: Frank Li Cc: neuhauser@bellavista.cz, cswiger@mac.com, freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: text/plain Organization: Dark Blue Sea Message-Id: <1042761927.17352.7.camel@duncan.au.darkbluesea.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 17 Jan 2003 10:05:27 +1000 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2003-01-17 at 07:59, Frank Li wrote: > Thanks, Roman, > > > > >options MAXDSIZ="(256*1024*1024)" > > > >options MAXSSIZ="(256*1024*1024)" > > > >options DFLDSIZ="(256*1024*1024)" > > > > > > > >Depending on what you're doing, you might well find using a 64-bit > > > >platform (Alpha hardware? Solaris on SPARC?) to be more appropriate... > > > > > > Which file should I put in the following ? > > > > in your kernel configuration file, look in /usr/src/sys/i386/conf/ > > So, I need to recompile kernel ? > I guess in this case I'd better back up things in case the kernel no longer > boots up... > You can also tune this at boot time by adding them to the file /boot/loader.conf. e.g. kern.maxdsiz="(256*1024*1024)" Although I am not 100% certain whether the tunables parser actually calculates that, I haven't checked the source too closely. I play it safe by using the actual number. On other thing to beware of, whether you set this in the kernal or /boot/loader.conf, is that you cannot go over 2^31-1 because FreeBSD uses a signed int for this value (I tried setting it to 2G once and MySQL refused to start - MySQL AB verified the problem). -- The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Dark Blue Sea does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Dark Blue Sea. Dark Blue Sea does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message