X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A002311F6F0E for ; Sun, 2 Apr 2006 14:38:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08017-01 for ; Sun, 2 Apr 2006 14:38:01 -0300 (ADT) Received: from hub.org (hub.org [200.46.204.220]) by postgresql.org (Postfix) with ESMTP id A587D11F6E85 for ; Sun, 2 Apr 2006 14:38:00 -0300 (ADT) Received: from localhost (av.hub.org [200.46.204.144]) by hub.org (Postfix) with ESMTP id 52006823C5B for ; Sun, 2 Apr 2006 14:37:59 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06698-07 for ; Sun, 2 Apr 2006 14:37:58 -0300 (ADT) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 1E954823B9F for ; Sun, 2 Apr 2006 14:37:57 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 7DFB75C134; Sun, 2 Apr 2006 14:37:58 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 793523D024 for ; Sun, 2 Apr 2006 14:37:58 -0300 (ADT) Date: Sun, 2 Apr 2006 14:37:58 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: pgsql-admin@postgresql.org Subject: semctl(): Invalid argument Message-ID: <20060402143109.T947@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.585 required=5 tests=[AWL=0.106, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.585 X-Spam-Level: X-Archive-Number: 200604/20 X-Sequence-Number: 21189 What would cause the following? # psql -U pgsql -l psql: FATAL: semctl(327686, 3, SETVAL, 0) failed: Invalid argument The server is FreeBSD 6.1-PRERELEASE ... there are two jails running on it ... both jails are running PostgreSQL 7.4 ... I have the kernel built with enough semaphores: options SYSVSHM options SHMMAXPGS=199608 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) options SYSVSEM options SEMMNI=4096 options SEMMNS=8192 options SYSVMSG # SYSV-style message queues And am definitely not using that many: (from ipcs -a): ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME s 393216 5432001 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393217 5432002 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393218 5432003 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393219 5432004 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393220 5432005 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393221 5432006 --rw------- 70 70 70 70 17 13:46:07 13:46:07 s 393222 5432007 --rw------- 70 70 70 70 17 13:46:07 13:46:07 So figure there must be something else that I should be looking at ... Thanks ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664