Date: Tue, 26 Apr 2005 22:59:12 +0300 From: Alexander Rusinov <boot@eurocom.od.ua> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-stable@freebsd.org Subject: Re: PostgreSQL in FreeBSD jails Message-ID: <426E9D90.4030000@eurocom.od.ua> In-Reply-To: <20050426135528.R32711@ganymede.hub.org> References: <426E5713.3010906@eurocom.od.ua> <20050426110923.3edf8a2e.wmoran@potentialtech.com> <20050426135528.R32711@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc G. Fournier wrote: > On Tue, 26 Apr 2005, Bill Moran wrote: > >> Alexander Rusinov <boot@eurocom.od.ua> wrote: >> >>> Hi, >>> >>> I need to run a number of PostgreSQL servers in different FreeBSD >>> jails. >>> I managed to run a first instance of PostgreSQL server in a jail, but >>> after I launch a new server in another jail the first one starts to >>> return an error messages like the following: >>> >>> semctl(1507328, 4, SETVAL, 0) failed: Invalid argument >>> >>> The problem in general is: only one instance of PostgreSQL server >>> processes clients' connections, all of the others return semctl errors. >> >> >> I had this exact same problem. I never found a solution. The cause >> appears to be that, since shared memory is not segregated between jails, >> the newly launched Postgres instances corrupt the shared memory of >> previously running Postgres instances. > > > I'm running 9 jails on a server right now, each with their own instance: > .... > and never noticed any issues ... but, this is with 4.11, not 5.x, so > maybe something has changed? Can you tell please what version of PostgreSQL are you running?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426E9D90.4030000>