Re: Error raised whilst running Postgres as a service (Win2000 Pro)

From: Jason Tishler <jason(at)tishler(dot)net>
To: Nick Stone <nicks(dot)email(at)bigfoot(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Error raised whilst running Postgres as a service (Win2000 Pro)
Date: 2003-09-04 13:03:29
Message-ID: 20030904130329.GG1804@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Nick,

On Wed, Sep 03, 2003 at 08:29:02PM +0100, Nick Stone wrote:
> > 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.
> > [snip]
>
> I realise that to some extent the answer may lie in the error message
> but I have read other threads about Win 2003 and I wanted to make sure
> that I wasn't going down the wrong route by trying to adjust the
> parameters listed.

Adjusting the above parameter will have no affect under Cygwin.

> Also could somebody explain why I get the error message as a service
> but not when postmaster is run as a separte program?

AFAICT, the solution is in the README's issues section:

2. It is recommended to delete all cygipc temporary files
(/tmp/cygipc* and /tmp/MultiFile*) before starting postmaster under
a different user account. Otherwise, postmaster will fail to start
due to IPC errors. Note cygipc 2.x automatically removes these
files during normal shutdown so this issue has been essentially
obviated.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Shogo Yahagi 2003-09-05 01:50:57 UNSUBSCRIBE
Previous Message Jason Tishler 2003-09-04 12:56:00 Re: Problems starting up "ipc-daemon2"