From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 06:54:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0443C16A4CE; Thu, 4 Mar 2004 06:54:00 -0800 (PST) Received: from web02-imail.rogers.com (web02-imail.bloor.is.net.cable.rogers.com [66.185.86.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6042043D31; Thu, 4 Mar 2004 06:53:59 -0800 (PST) (envelope-from mikej@rogers.com) Received: from localhost ([127.0.0.1]) by web02-imail.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040304145356.EWCI144376.web02-imail.rogers.com@localhost>; Thu, 4 Mar 2004 09:53:56 -0500 X-Mailer: Openwave WebEngine, version 2.8.10 (webedge20-101-191-20030113) From: To: Date: Thu, 4 Mar 2004 9:53:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at web02-imail.rogers.com from [127.0.0.1] using ID at Thu, 4 Mar 2004 09:53:56 -0500 Message-Id: <20040304145356.EWCI144376.web02-imail.rogers.com@localhost> cc: current@freebsd.org Subject: Semaphore scaling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 14:54:00 -0000 I am running an application (Plesk) on a 4.9 system that is eating up all= the semaphores and as a result some processes can=92t run. I have contac= ted the software company, and they asked me to increase the semaphore lim= its in the kernel. However their suggested settings seemed very unproport= ional to me. So my question is, how should I adjust the values, while keeping things i= n proportion? I wish to increase the default semaphore limit of 10 to 20.= Can I simply double the semaphore related values? This is what the support guys suggested: --- # number of semaphore identifiers in the system - default is 10 options SEMMNI=3D256 # other things that have to be set to allow increased semaphores without = destabilizing system options SEMMAP=3D768 # amount of entries in semaphore map options SEMMNU=3D768 # number of undo structures in the system options SEMOPM=3D2560 # max number of operations per semop call options SEMUME=3D256 # max number of undo entries per process # number of semaphores in the system - default is 60 options SEMMNS=3D393216 # max number of semaphores per id - default is 60 options SEMMSL=3D1536 --- Thanks. 1