From: | Kathy Lo <kathy(dot)lo(dot)ky(at)gmail(dot)com> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: memory leak under heavy load? |
Date: | 2005-12-09 04:15:44 |
Message-ID: | c10e7feb0512082015t6bf6eee0k2e46e8f4ca22440@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/8/05, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
> On Thu, Dec 08, 2005 at 12:29:11PM +0800, Kathy Lo wrote:
> > > But this shouldn't be an issue here. If you set the IPC_RMID flag then
> > > the kernel should remove the segment when all users go away. This is
> > > standard IPC behaviour and is documentated in the manpage...
> > >
> >
> > Would you please tell me where to find the manpage and how to set IPC_RMID
> flag?
>
> See the shmctl() manpage:
>
> int shmctl(int shmid, int cmd, struct shmid_ds *buf);
>
> One of the command ids is IPC_RMID
>
Do I need to change the source code of postgresql if I want to set
IPC_RMID flag to solve this problem?
--
Kathy Lo
From | Date | Subject | |
---|---|---|---|
Next Message | Thies C. Arntzen | 2005-12-09 07:29:16 | Re: is it possible to delete the psql log while psql is |
Previous Message | Tom Lane | 2005-12-09 02:17:47 | Re: bug or not? Trigger preventing delete causes circumvention of FK |