From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 13:05:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E32137B401 for ; Mon, 11 Aug 2003 13:05:19 -0700 (PDT) Received: from parszamin.ca (DA-207164198.176.trytel.com [207.164.198.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DDB443F93 for ; Mon, 11 Aug 2003 13:05:18 -0700 (PDT) (envelope-from pars@parszamin.ca) Received: from parszamin.ca (localhost.parszamin.ca [127.0.0.1]) by parszamin.ca (8.12.9/8.12.9) with ESMTP id h7BK5HTZ013154 for ; Mon, 11 Aug 2003 16:05:17 -0400 (EDT) (envelope-from pars@parszamin.ca) Received: (from pars@localhost) by parszamin.ca (8.12.9/8.12.9/Submit) id h7BK5GP4013153 for questions@freebsd.org; Mon, 11 Aug 2003 16:05:16 -0400 (EDT) Date: Mon, 11 Aug 2003 16:05:16 -0400 From: Pars Saberi To: questions@freebsd.org Message-ID: <20030811160516.A13133@tehran> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: semaphores X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 20:05:19 -0000 Hi, I was installing perl 5.8 and it would fails. Lost the error message, sorry. However, running a google search on the error message gave only one result suggesting that my system was running out of semaphores. So, `ipcs` showed that postgresql was using them and so stopping this db allowed perl to be installed. Now I can run both perl5.8 and postgresql, but, how do I know whether my system is low on semaphores, and if so, how do I increase it ? Here are some outputes: uname -a: FreeBSD 4.8-STABLE ipcs : farhad@tehran [/home/pars/perl] $ ipcs Message Queues: T ID KEY MODE OWNER GROUP Shared Memory: T ID KEY MODE OWNER GROUP m 65536 5432001 --rw------- pgsql pgsql Semaphores: T ID KEY MODE OWNER GROUP s 131072 5432001 --rw------- pgsql pgsql s 131073 5432002 --rw------- pgsql pgsql s 131074 5432003 --rw------- pgsql pgsql Thanks.