Skip site navigation (1) Skip section navigation (2)

Re: running two servers on one machine

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eric Smith <eric_h_smith(at)mac(dot)com>
Cc: Adrian Klaver <aklaver(at)comcast(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: running two servers on one machine
Date: 2009-03-30 03:19:45
Message-ID: 12864.1238383185@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Eric Smith <eric_h_smith(at)mac(dot)com> writes:
> Yes, if I start one, but not the other, the process works just great.   
> It's only when trying to run both that I have a problem.

Have you looked into the postmaster logfile?

One likely idea is that you don't have shmall cranked up high enough
for two servers, which'd result in something like

FATAL:  could not create shared memory segment: Cannot allocate memory

in the postmaster log.

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Osvaldo KussamaDate: 2009-03-30 03:39:16
Subject: Re: How to split timestamps values by 24h slices ?
Previous:From: Eric SmithDate: 2009-03-30 02:59:19
Subject: Re: running two servers on one machine

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group