From: | Charles Sprickman <spork(at)biglist(dot)com> |
---|---|
To: | Jim Mercer <jim(at)reptiles(dot)org> |
Cc: | Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Installing multiple instances of Postgred on one FreeBSD server |
Date: | 2013-05-08 22:04:50 |
Message-ID: | FF75E5F4-18F0-459A-87B4-A8D511A95C6E@biglist.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On May 8, 2013, at 11:32 AM, Jim Mercer wrote:
> On Wed, May 08, 2013 at 05:29:53PM +0300, Achilleas Mantzios wrote:
>> 1st the above links do not reveal anything new.
>> 2nd, judging by the wiki : https://wiki.freebsd.org/Jails ,
>> jailified SysV IPC (or SysV IPC-ified jails) (the specific territory where pgsql comes in contact with jails)
>> are in stalled state.
>
> ah, hrm.
>
> to be honest, i was making some assumptions, and now that i think of it, yeah
> the shared memory stuff is the likely cause of problems.
Use a different UID for the pgsql user in each jail if you run more than one.
> i was pretty sure that i was running pgsql in jails, and i looked at the
> servers i set up that way, only to find that i had build the server on
> the main system, and ran pgsql-client inside the jails, without issues.
We've been running multiple jails each with PG inside the jail for years, I
don't recall anything terribly special there aside from:
-ensure that PG in each jail runs under a unique UID
-ensure the sysctls for shared mem stuff are high enough to handle multiple
running PG instances
-ensure that you have set jail_sysvipc_allow="YES" in rc.conf
Trimming the rest after that top-posting discussion. :)
Charles
From | Date | Subject | |
---|---|---|---|
Next Message | Rodrigo Barboza | 2013-05-08 23:24:46 | Delete xlog files |
Previous Message | Jim Mercer | 2013-05-08 15:32:56 | Re: Installing multiple instances of Postgred on one FreeBSD server |