From owner-freebsd-stable@FreeBSD.ORG Sat Sep 13 03:39:47 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C98B16A4BF for ; Sat, 13 Sep 2003 03:39:47 -0700 (PDT) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AB3B43F85 for ; Sat, 13 Sep 2003 03:39:45 -0700 (PDT) (envelope-from irvine@sanbi.ac.za) Received: from fling.sanbi.ac.za ([196.38.142.119]) by fling.sanbi.ac.za with esmtp (Exim 3.36 #1) id 19y7ob-000DXH-00 for freebsd-stable@freebsd.org; Sat, 13 Sep 2003 12:39:41 +0200 Date: Sat, 13 Sep 2003 12:39:40 +0200 (SAST) From: Irvine Short To: freebsd-stable@freebsd.org In-Reply-To: <20030913092804.S46465@fling.sanbi.ac.za> Message-ID: <20030913123257.C51554@fling.sanbi.ac.za> References: <20030913092804.S46465@fling.sanbi.ac.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Large memory issues on 4-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 10:39:47 -0000 OK, more info... David Lawrence said: > Sorry, due to design issues, it isn't possible to have virtual sizes >larger than about 3GB on FreeBSD. This is because the kernel is mapped in >the upper part of the virtual address space. Of course you can use all of >your 4GB of RAM - just not all of it at the same time in one process. OK, fair enough. Is this going to be any different in FreeBSD with PAE (Intel's scheme for 32bit stuff using > 4GB RAM)? Should I try 5.1? Or isn't 4.9 going to have PAE support anyway? Given what David says though, why do I have a problem with MySQL getting thread errors with MAXDSIZ 2048 or greater? Why does tcsh's "limit" report datasize unlimited when MAXDSIZ is over 2048? -- Irvine On Sat, 13 Sep 2003, Irvine Short wrote: > After initial installation everything went well until someone found they > couldn;t allocate more than 512MB of RAM per process. After some poking > around I found some things things to adjustin the kernel conf file: > > options MAXDSIZ="(2000*1024*1024)" > options MAXSSIZ="(128*1024*1024)" > options DFLDSIZ="(512*1024*1024)" > > Now here's the problem, consistent with three versions of 4-STABLE over > the last couple of weeks and finally yesterday. > > Everything works perfectly as abve except that limit reports datasize > 2048000 kbytes - which kind of makes sense given the figures above. > > However, the guys want to be able to use all the RAM, not just 2GB > > If I increase MAXDSIZ to 2048 then limit reports datasiz unlimited but > mysql will not run, unfortunatly I've lost the log file from then but it > was something like a pthreads error 36 - mysql would just start up and > shut down. > > Other than that though the machine ran fine. > > If MAXDSIZ is set to 4096 then the kernel will not even load, if it's set > to 4095 it gets part way through the rc scripts and then crashes. > > 3500 gets you almost but not quite booted - all kinds of apps failing > unable to allocate memory. > > Any help would be much appreciated - it's a production box and I don't > have anothe 4GB box to play with. > > Cheers, > > Irvine Short > > Sys Admin > SANBI, University of the Western Cape, South Africa > http://www.sanbi.ac.za > tel: +27-21-959 3645 > cel: +27-82-494 3828 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Irvine Short Sys Admin SANBI, University of the Western Cape, South Africa http://www.sanbi.ac.za tel: +27-21-959 3645 cel: +27-82-494 3828