Problem starting the postmaster

From: douggorley(at)shaw(dot)ca
To: pgsql-novice(at)postgresql(dot)org
Subject: Problem starting the postmaster
Date: 2002-12-05 07:05:00
Message-ID: 31c5dd3160f6.3160f631c5dd@shaw.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello list,

I'm having a problem starting the postmaster. My command line is:

/usr/pkg/bin/postmaster -D /usr/local/pgsql/data -i

The error I get is:

IpcMemoryCreate: shmget(key=5432001, size=1417216, 03600) failed: Cannot allocate memory

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 1417216 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 tried reducing the connections and buffers, but it didn't help. There's lots of hard drive space and RAM free; any ideas?

Thanks,

Doug Gorley | douggorley(at)shaw(dot)ca

Browse pgsql-novice by date

  From Date Subject
Next Message Vijay Deval 2002-12-05 12:17:21 tcl script
Previous Message Oliver Elphick 2002-12-05 06:51:22 Re: pg_hba.conf file