From owner-freebsd-questions@FreeBSD.ORG Sat Feb 13 10:14:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77CC0106568D for ; Sat, 13 Feb 2010 10:14:39 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 57FC48FC17 for ; Sat, 13 Feb 2010 10:14:39 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NgF1K-0002cV-Ne for freebsd-questions@freebsd.org; Sat, 13 Feb 2010 02:14:38 -0800 Message-ID: <27573158.post@talk.nabble.com> Date: Sat, 13 Feb 2010 02:14:38 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: resetting shmmax parameters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 10:14:39 -0000 Hello, FreeBSD O/S 7.2 i386 1CPU AMD Server memory RAM memory hw.physmem: 1060540416 # sysctl -a | grep shm kern.ipc.shm_allow_removed: 0 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 8192 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 33554432 >From dmesg # grep memory /var/run/dmesg.boot real memory = 1073676288 (1023 MB) avail memory = 1036972032 (988 MB) # swapinfo Device 1K-blocks Used Avail Capacity /dev/ad0s1b 1536000 32 1535968 0% /dev/ad1s1b 1048576 28 1048548 0% /dev/ad4s1b 2072576 44 2072532 0% Total 4657152 104 4657048 0% program suggested parameters for shared memory To reset the parameters: vi /etc/sysconfigtab in order to add the lines ipc: shm-max=2147483647 sem-mni=128 What is a safe / comfortable shmmax to use? Can I increase shmmax on the fly as in Linux or do I have to do reboot? Thanks! -- View this message in context: http://old.nabble.com/resetting-shmmax-parameters-tp27573158p27573158.html Sent from the freebsd-questions mailing list archive at Nabble.com.