Date: Mon, 14 Feb 2000 15:47:51 +0100 From: Remco Moolenaar <remco@scc.nl> To: emulation@FreeBSD.org Subject: Re: Linux shared memory Message-ID: <38A81596.61C6BBDA@scc.nl> References: <200002141432.LAA99522@thomson.iqm.unicamp.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Fabio Cesar Gozzo wrote: > I tried to increase the undocumented kernel parameter SHMMAX to 128MB > but now it stops with "shmget failed.: Cannot allocate memory" > Is this a linux emulation or a FreeBSD shared memory issue ? These are my settings for the shared memory parameters for Oracle for Linux: options SHMMAXPGS=10240 options SHMMNI=100 options SHMSEG=10 options SEMMNS=200 options SEMMNI=70 options SEMMSL=61 Remember one shared memory page is 4kB, so you probably need SHMMAXPGS=35000 or something like that. SHMMAX is in fact SHMMAXPGS*PAGE_SIZE (see /sys/i386/conf/LINT). Remco. -- Remco Moolenaar mailto:remco@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands mailto:remco@bsdapps.org Maintainer of the BSD Applications database at http://www.bsdapps.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38A81596.61C6BBDA>
