X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 4716247638A for ; Wed, 12 Mar 2003 17:28:37 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2CMSbub029814; Wed, 12 Mar 2003 17:28:38 -0500 (EST) To: Guy Martin Cc: pgsql-admin@postgresql.org Subject: Re: Running postgresql/initdb on linux/parisc problem In-reply-to: <200303122052.43923.gmsoft@gentoo.org> References: <200303122052.43923.gmsoft@gentoo.org> Comments: In-reply-to Guy Martin message dated "Wed, 12 Mar 2003 20:52:43 +0100" Date: Wed, 12 Mar 2003 17:28:37 -0500 Message-ID: <29813.1047508117@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/161 X-Sequence-Number: 7801 Guy Martin writes: > IpcSemaphoreCreate: semget(key=129, num=17, 03600) failed: No space left on > device I think the issue is that src/include/port/linux.h does not believe that PARISC knows about test-and-set, so you're getting extra semaphores being created (or trying to be created) to substitute for TAS spinlocks. This is bad for performance, quite aside from the fact that you'd need to boost the system's SEMMNI and/or SEMMNS to run Postgres that way. Feel free to send in a patch that fixes it ;-). There is code already that implements TAS for PARISC under HPUX, but I'm not sure whether it'd need any tweaking to make it compile under Linux. regards, tom lane