Re: memory leak under heavy load? - Mailing list pgsql-general

From Kathy Lo
Subject Re: memory leak under heavy load?
Date
Msg-id c10e7feb0512082015t6bf6eee0k2e46e8f4ca22440@mail.gmail.com
Whole thread Raw
In response to Re: memory leak under heavy load?  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: memory leak under heavy load?
List pgsql-general
On 12/8/05, Martijn van Oosterhout <kleptog@svana.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug or not? Trigger preventing delete causes circumvention of FK
Next
From: "Thies C. Arntzen"
Date:
Subject: Re: is it possible to delete the psql log while psql is