From owner-freebsd-hackers Sat Dec 2 15:29:50 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA14858 for hackers-outgoing; Sat, 2 Dec 1995 15:29:50 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA14848 for ; Sat, 2 Dec 1995 15:29:37 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA06620; Sat, 2 Dec 1995 16:27:01 -0700 From: Terry Lambert Message-Id: <199512022327.QAA06620@phaeton.artisoft.com> Subject: Re: Increasing size of shared memory segmenty To: taob@io.org (Brian Tao) Date: Sat, 2 Dec 1995 16:27:01 -0700 (MST) Cc: terry@lambert.org, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Brian Tao" at Dec 2, 95 01:40:55 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 978 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > Okay... I gather I need to bump up SHMMAX (max. segment size) as > well as SHMALL (max. total size of all segments?). I'm running a > 2.1.0-RELEASE kernel with these settings: > > shminfo: > shmmax: 16777216 (max shared memory segment size) > shmmin: 1 (min shared memory segment size) > shmmni: 32 (max number of shared memory identifiers) > shmseg: 8 (max shared memory segments per process) > shmall: 4096 (max amount of shared memory in pages) > > Seems to be working okay so far, although I still can't load those > nice 1536x1024 (or larger) PhotoCD pictures into gimp... :( Check your soft limits. % limit cputime unlimited filesize unlimited datasize 65536 kbytes stacksize 8192 kbytes coredumpsize unlimited memoryuse 7284 kbytes memorylocked 4858 kbytes maxproc 40 openfiles 64 Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.