Received: from denver.carl.org (denver.carl.org [192.54.81.3]) by postgresql.org (Postfix) with ESMTP id A9BA1474E4B for ; Mon, 4 Mar 2002 18:45:25 -0500 (EST) Received: from carl.org ([198.59.88.65]) by denver.carl.org (8.10.2+Sun/8.10.2) with ESMTP id g24Nj5d00173 for ; Mon, 4 Mar 2002 16:45:05 -0700 (MST) Message-ID: <3C8406D4.1030200@carl.org> Date: Mon, 04 Mar 2002 16:44:20 -0700 From: Eric Scroger User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: SEMMNI,SEMMNS config for posgres 7.1 under Solaris Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/50 X-Sequence-Number: 3585 Greetings, I need help configuring SEMMNI and SEMMNS for postgres 7.1 under Solaris. We are upgrading from postgres 6.4 to 7.1. When I start postmaster, I get the following error message in postmaster.out: -------------- IpcSemaphoreCreate: semget(key=5432002, num=17, 03600) failed: No space left on device This error does *not* mean that you have run out of disk space. It occurs either because system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Look into the PostgreSQL documentation for details. --------------- I did a little surfing on the web and found this page on the postgresql site which suggests how to configure Solaris' /etc/system file to handle this problem. http://developer.postgresql.org/docs/postgres/kernel-resources.html Basically, it appears you add the following lines to /etc/system and reboot. ------------ set shmsys:shminfo_shmmax=0x2000000 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=256 set shmsys:shminfo_shmseg=256 set semsys:seminfo_semmap=256 set semsys:seminfo_semmni=512 set semsys:seminfo_semmns=512 set semsys:seminfo_semmsl=32 --------------- Well, I tried that and I still get that same error message. Any other ideas? Thanks in advance, Eric Scroger