From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Kathy Lo <kathy(dot)lo(dot)ky(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: memory leak under heavy load? |
Date: | 2005-12-08 11:43:11 |
Message-ID: | 20051208114303.GA25312@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | surabhi.ahuja | 2005-12-08 11:55:10 | how to check if a database exists programatically |
Previous Message | Oleg Bartunov | 2005-12-08 11:04:03 | Re: TSearch2 / Get all unique lexems |