Re: memory limits

看板DFBSD_kernel作者時間21年前 (2004/09/06 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/6 (看更多)
--Apple-Mail-12-155531909 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 06.09.2004, at 00:09, Adrian Nida wrote: > I'm running a very memory intensive php 5.0 script through apache2 on > a recent > DragonFly build (Sept 1). My problem is that I'm running into some OS > limit or > something. I'm assuming this because I have 2G physical RAM and 4G > swap, but > apache runs out of memory waaaay before then (maybe 500MB) even though > top > reports 1400M Free. > > I've tried setting datasize to 'infinity' using `limits`, but that > didn't stick > (I ran it again, and it still said datasize was limited to 524288). I > also > tried to adjust kern.ipc.shmmax to 6GB using `sysctl`, but it didn't > make a > difference. FYI, that variable's upper limit is 2147483647. > > What can I do to give apache2 access to all the addressable memory on > this > system? Do we have PAE? If not, can a 32 bit processor even use 2+4GB? I recall that some year(s) ago, people were adviced not to use more than 4GB totall memory on FreeBSD. Could be wrong, though. cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --Apple-Mail-12-155531909 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBO6Djr5S+dk6z85oRAnr9AJ9pJGIODYrYdeBb3/AWr/oKkFG4rQCfQzKv fToAtXQzM1ntMvXe1djil58= =uW5y -----END PGP SIGNATURE----- --Apple-Mail-12-155531909--
文章代碼(AID): #11EwZ100 (DFBSD_kernel)
文章代碼(AID): #11EwZ100 (DFBSD_kernel)