X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 48F91D1B8BD for ; Wed, 3 Sep 2003 08:52:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 70969-07 for ; Wed, 3 Sep 2003 05:52:25 -0300 (ADT) Received: from mail.digitalvisiononline.com (unknown [213.219.39.242]) by svr1.postgresql.org (Postfix) with ESMTP id 93EFBD1B8A3 for ; Wed, 3 Sep 2003 05:52:22 -0300 (ADT) Received: by UKMAIL with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Sep 2003 09:57:25 +0100 Message-ID: <8193F6FD86EFD411BA9200300503320202595B81@UKMAIL> From: Nick Stone To: "'pgsql-admin@postgresql.org'" Subject: Problems Starting Postgres as a Service Date: Wed, 3 Sep 2003 09:57:24 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/43 X-Sequence-Number: 10131 Hi I am trying to run Postgres on Windows as a service and after a bit of playing around I can run it from within Cygwin and I can install it as a service OK but when I try to start the service I get the following error: > IpcMemoryCreate: shmget(key=5432001, size=1499136, 03600) failed: Not enough core > > This error usually means that PostgreSQL's request for a shared > memory segment exceeded available memory or swap space. > To reduce the request size (currently 1499136 bytes), reduce > PostgreSQL's shared_buffers parameter (currently 64) and/or > its max_connections parameter (currently 32). > > The PostgreSQL Administrator's Guide contains more information about > shared memory configuration. I have followed all the various how-to's / faq notes etc. and I realise that the error message has some clues as to a possible solution but could someone explain why I can start Postgres from the command prompt but not as a service? Also what are the effects of reducing some of the parameters mentioned in the error message? Many thanks Nick