From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Nicolai Petri (lists)" <lists(at)petri(dot)cc>, Alexander Rusinov <boot(at)eurocom(dot)od(dot)ua>, <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #1632: Several jailed PostgreSQL instances. |
Date: | 2005-05-03 06:12:45 |
Message-ID: | Pine.LNX.4.44.0505030903220.8645-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
O Tom Lane έγραψε στις Apr 30, 2005 :
> "Nicolai Petri (lists)" <lists(at)petri(dot)cc> writes:
> > It might still be a good idea for postgresql to be able to detect this
> > collision without crashing each others backend or doing other weird stuff.
>
> It tries --- see IpcSemaphoreCreate in src/backend/port/sysv_sema.c.
> If the "jail" mechanism hides processes from each other but not
> semaphore sets, then the attempted detection will fail. I don't think
> that's a Postgres bug. The SysV IPC mechanism is defined to expose
> process PIDs of processes accessing a shmem segment or sema set;
> therefore you can't have a jail mechanism that separates PIDs but not
> shmem/semas without fundamentally breaking the API.
>
> Or this might just be a garden-variety kernel bug. In any case I think
Its obvious that FreeBSD says: DONT USE IPC in jails, so its far from a
bug.
> you need to be complaining to FreeBSD kernel hackers, not us.
Now with XEN, i suspect jailifying IPC in FreeBSD seems even
less attractive of a task, than it might have been back in
4.x days.
Thats about now. But back then, if FreeBSD people had enuf demand
for jailified IPC and finally implemented it, that would give postgresql
a big boost in the hosting field (where FreeBSD is a very popular) vs
mysql.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
-Achilleus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-05-03 06:57:33 | Re: BUG #1632: Several jailed PostgreSQL instances. |
Previous Message | Karel Zak | 2005-05-02 20:33:40 | Re: BUG #1630: Wrong conversion in to_date() function. See |