On 10/1/06, Fred Tyler <fredty8@xxxxxxxxx> wrote:
> However, my machine looses between 500 M and 800 M in two weeks, and > within that time, I restart pg only very few times, say 3-4 times. > Does pg allocate other shmem blocks? If there is really a kernel memory > problem in shmem, how can I loose so much memory? This is the same thing I am seeing -- 500-1GB memory lost every two weeks -- and I don't restart pg at all. So, whatever is causing this is not due to pg restarts. I am running the same software as everyone else who has had this problem though: Apache, Postgres, and mod_perl on Linux (I know there's the guy seeing it on BSD also).
For the record, after upgrading the leaky machine from postgres 7.4.9 to 7.4.13, the memory leak is still very much present. (My original configuration details are quoted below.)