pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mjoseph@inautix.com
To: pgsql-general@postgresql.org
To: pgsql-novice@postgresql.org
To: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Database access problem : SOS
Date: Tue, 4 Feb 2003 09:57:22 +0530
Message-ID: <OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain> (raw)


Thanks Tom!
There seems to be something wrong with the cygipc package! I keep getting
this shmget() failure. I am pretty sure that there is enough memory on my
system. The best part is sometimes after reinstalling everything, it
sometimes works.

This is the failure message I get.
-----------------------------------------------------------------
$ postmaster -D /usr/local/pgsql/data -N 4 -B 16
IpcMemoryCreate: shmget(key=5432001, size=589824, 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 589824 bytes), reduce
PostgreSQL's shared_buffers parameter (currently 16) and/or
its max_connections parameter (currently 4).

The PostgreSQL Administrator's Guide contains more information about
shared memory configuration.
-----------------------------------------------------------------

The versions I use:
cygipc-1.13-2
postgresql-7.3.1-1
cygwin-1.3.19-1

Can someone help?

I have been having a hard time installing PostgreSQL on Windows NT. I tried
a Native port, the official Windows version (on top of cygwin) and the one
that comes with cygwin. Something or the other is broken in each release. I
am yet to do a successful query till now.

I guess it works better on Unix, considering its popularity.

Regards,
Manoj



                                                                                                                   
                    Tom Lane                                                                                       
                    <tgl@sss.pgh.p       To:     mjoseph@inautix.com                                               
                    a.us>                cc:     pgsql-general@postgresql.org, pgsql-novice@postgresql.org,        
                                          pgsql-admin@postgresql.org                                               
                    02/03/03 09:15       Subject:     Re: [ADMIN] Database access problem : SOS                    
                    PM                                                                                             
                                                                                                                   
                                                                                                                   




mjoseph@inautix.com writes:
> ipc-daemon &
> initdb -D /usr/local/pgsql/data -U 1730 -W
> psql -U 1730 template1

If this is PG 7.3.*, there are some recently-identified problems with
using all-numeric usernames.  Use a name instead of a number.

                               regards, tom lane









view thread (9+ messages)  latest in thread

Message-ID: <OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain>
Permalink:  ../OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain/
Also on:    postgresql.org/message-id/OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mjoseph@inautix.com, pgsql-general@postgresql.org, pgsql-novice@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: Database access problem : SOS
  In-Reply-To: <OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain>
  References: <OF036017DD.7428DF9A-ON65256CC3.0017B815@LocalDomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox