Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2003 12:39:40 +0200 (SAST)
From:      Irvine Short <irvine@sanbi.ac.za>
To:        freebsd-stable@freebsd.org
Subject:   Re: Large memory issues on 4-STABLE 
Message-ID:  <20030913123257.C51554@fling.sanbi.ac.za>
In-Reply-To: <20030913092804.S46465@fling.sanbi.ac.za>
References:  <20030913092804.S46465@fling.sanbi.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030913123257.C51554>