Re: shmget problem with Win NT services

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: akenez(at)energo-szoft(dot)hu
Cc: "Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: shmget problem with Win NT services
Date: 2003-02-17 18:29:18
Message-ID: 9685.1045506558@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?iso-8859-1?Q?Ken=E9z_Attila?= <akenez(at)energo-szoft(dot)hu> writes:
> IpcMemoryCreate: shmget(key=5432001, size=1441792, 03600) failed: Not
> enough core

> If it runs as Administrator, it works fine. It also gives the same error
> message if it runs as any other user (except Administrator).

Hmm. From that behavior I would think that this is a permissions problem
not an insufficient-resources problem. Perhaps cygipc has a small bug
that causes it to return the wrong error code for a permissions failure
(ie, it says ENOMEM when it should say EPERM)?

Either that, or NT has different memory use limits for different users.

I have no idea where you look to fix it in either case; just wanted to
suggest that maybe you shouldn't believe the error code completely.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Welty 2003-02-17 18:38:06 Re: PostGreSQL Replication question !!
Previous Message Andrew Sullivan 2003-02-17 18:20:08 Re: PostGreSQL Replication question !!