From owner-freebsd-emulation Mon Feb 14 6:50:13 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by builder.freebsd.org (Postfix) with ESMTP id 34E48464F for ; Mon, 14 Feb 2000 06:50:11 -0800 (PST) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id PAA99289 for emulation@FreeBSD.org; Mon, 14 Feb 2000 15:47:51 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Mon, 14 Feb 2000 15:47:51 +0100 From: Remco Moolenaar Message-ID: <38A81596.61C6BBDA@scc.nl> Organization: SCC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <200002141432.LAA99522@thomson.iqm.unicamp.br> Reply-To: remco@scc.nl Subject: Re: Linux shared memory Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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