Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 1995 16:27:01 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        taob@io.org (Brian Tao)
Cc:        terry@lambert.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Increasing size of shared memory segmenty
Message-ID:  <199512022327.QAA06620@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.91.951202013837.186B-100000@flinch> from "Brian Tao" at Dec 2, 95 01:40:55 am

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



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