From owner-freebsd-questions Fri Feb 11 5:42:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gate.webclub.ru (gate.web2000.ru [195.58.61.2]) by builder.freebsd.org (Postfix) with ESMTP id 556D5470B for ; Fri, 11 Feb 2000 05:42:33 -0800 (PST) Received: from newbee.web2000.ru ([195.58.61.40]) by gate.webclub.ru with smtp (Exim 3.02 #1) id 12JGJr-0002ES-00 for questions@freebsd.org; Fri, 11 Feb 2000 16:41:11 +0300 From: Andrey Novikov Organization: WebClub To: questions@freebsd.org Subject: Tuning up semaphores in kernel Date: Fri, 11 Feb 2000 16:38:37 +0300 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00021116401000.00739@newbee.web2000.ru> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. Resently my PostgreSQL daemon died with: IpcSemaphoreCreate: semget failed (No space left on device) key=5432015, num=16, permission=600 I figured out that the kernel is out of available semaphores, I wanted to rebuild it but the problem is that the options related to semaphores are not documented. This is the mission critical commercial server so I don't want just to make assumptions. Can you please tell me how these all enigmatic numbers are properly choosed: options SEMMAP=31 options SEMMNI=11 options SEMMNS=61 options SEMMNU=31 options SEMMSL=61 options SEMOPM=101 options SEMUME=11 Thanks in advance, Andrey Novikov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message