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 48189D1B91B for ; Wed, 3 Sep 2003 22:22:24 +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 52645-08 for ; Wed, 3 Sep 2003 19:21:55 -0300 (ADT) Received: from corpexch01.internal.hubspan.com (unknown [64.122.5.126]) by svr1.postgresql.org (Postfix) with ESMTP id 551F0D1B56B for ; Wed, 3 Sep 2003 19:21:51 -0300 (ADT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message Subject: Re: Problems Starting Postgres as a Service MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 3 Sep 2003 15:21:53 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Problems Starting Postgres as a Service Thread-Index: AcNyZQsUSzxdCvDkRlaM+n0/pmSmowABLDvQ X-Priority: 5 Importance: low From: "Ian Huynh" To: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/45 X-Sequence-Number: 10133 while postgres is pretty solid under unixes, i am just curious as regards to the stability of cygwin+Postgres combo unde= r win2k? -----Original Message----- From: Nick Stone [mailto:nick.stone@digitalvision.com] Sent: Wednesday, September 03, 2003 1:57 AM To: 'pgsql-admin@postgresql.org' Subject: [ADMIN] Problems Starting Postgres as a Service 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=3D5432001, size=3D1499136, 03600) failed: Not enough core >=20 > 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). >=20 > 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 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org