From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Tyler MacDonald <tylerm(at)ActiveState(dot)com> |
Cc: | Will Glynn <wglynn(at)freedomhealthcare(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: memory leak under heavy load? |
Date: | 2005-12-03 20:03:56 |
Message-ID: | 20051203200354.GA22901@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Dec 02, 2005 at 03:53:20PM -0800, Tyler MacDonald wrote:
> Will Glynn <wglynn(at)freedomhealthcare(dot)org> wrote:
> > Postgres completely for a few seconds didn't lower the number. It wasn't
> > taken by any process, which leads me to believe that it's a kernel bug.
>
> If it was a shared memory segment allocated a particular way (I
> *think* it's "shm_open", I'm not 100% sure), it's not erronious for the
> kernel to leave it behind after all processes are gone... see
> http://lists.debian.org/debian-apache/2004/06/msg00188.html .
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...
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 | Andrew Toth | 2005-12-03 20:10:53 | hello |
Previous Message | Marc G. Fournier | 2005-12-03 19:33:19 | Re: news.postgresql.org slow |