PostgreSQL in FreeBSD jails

Alexander Rusinov boot at
Wed Apr 27 02:25:06 PDT 2005

>>> Just add the following line to your /etc/rc.conf
>>> jail_sysvipc_allow="YES"
>>> and ipc configuration will be shared with the jails
>> I have IPC enabled for jails already. So unfortunately this is not a 
>> solution.
>> Is anybody here who do run several jailed PostgreSQL servers?
> AFAIR PostgreSQL generates the shared memory identifier based on the 
> port it is runing on. It is possible to run two instances of 
> PostgreSQL on different ports, so it should work if they are in 
> seperate jails.

Actually, I'm using unix sockets for those servers so I never thought 
about changing the port number. But now I tried and ... that helped! 
Thank you!

I guess this is a workaround but not a solution though.

More information about the freebsd-stable mailing list