X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id EA209D1B91B for ; Tue, 16 Mar 2004 13:02:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 54301-04 for ; Tue, 16 Mar 2004 09:02:24 -0400 (AST) Received: from screamer.tcp-ip.info (screamer.tcp-ip.info [68.167.18.162]) by svr1.postgresql.org (Postfix) with ESMTP id 076C3D1B4C8 for ; Tue, 16 Mar 2004 09:02:21 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by screamer.tcp-ip.info (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i2GD2Jod015359; Tue, 16 Mar 2004 08:02:19 -0500 Date: Tue, 16 Mar 2004 08:02:19 -0500 (EST) From: Dana Hudes X-X-Sender: dhudes@screamer.tcp-ip.info To: beyaNet Consultancy Cc: pgsql-sql@postgresql.org Subject: Re: could not create shared memory segment: Invalid argument In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/170 X-Sequence-Number: 17269 Well, did you consider getting the value of SHMMAX? Check with ulimit (as the postgres user). On Tue, 16 Mar 2004, beyaNet Consultancy wrote: > Hi, > I have just installed the latest version of OS X panther (10.3.3) and > am now getting the following error message: > > postgres$ /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data > FATAL: could not create shared memory segment: Invalid argument > DETAIL: Failed system call was shmget(key=5432001, size=10444800, > 03600). > HINT: This error usually means that PostgreSQL's request for a shared > memory segment exceeded your kernel's SHMMAX parameter. You can either > reduce the request size or reconfigure the kernel with larger SHMMAX. > To reduce the request size (currently 10444800 bytes), reduce > PostgreSQL's shared_buffers parameter (currently 1000) and/or its > max_connections parameter (currently 100). > If the request size is already small, it's possible that it is > less than your kernel's SHMMIN parameter, in which case raising the > request size or reconfiguring SHMMIN is called for. > The PostgreSQL documentation contains more information about > shared memory configuration. > > Any ideas on how i can resolve this issue? > > many thanks in advance > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >