Re: running two servers on one machine - Mailing list pgsql-general

From Tom Lane
Subject Re: running two servers on one machine
Date
Msg-id 12864.1238383185@sss.pgh.pa.us
Whole thread Raw
In response to Re: running two servers on one machine  (Eric Smith <eric_h_smith@mac.com>)
Responses Re: running two servers on one machine  (Eric Smith <eric_h_smith@mac.com>)
List pgsql-general
Eric Smith <eric_h_smith@mac.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

pgsql-general by date:

Previous
From: Eric Smith
Date:
Subject: Re: running two servers on one machine
Next
From: Craig Ringer
Date:
Subject: Re: Installing PLPython - Version Problem