Re: memory issues when running with mod_perl

From: Jonathan Vanasco <postgres(at)2xlp(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: memory issues when running with mod_perl
Date: 2006-10-03 19:34:12
Message-ID: F44CF801-51C7-4A4C-A53E-16E55AAE5076@2xlp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Oct 1, 2006, at 12:24 PM, Fred Tyler wrote:

> It is not from the exit. I see the exact same problem and I never
> restart postgres and it never crashes. It runs constanty and with no
> crashes for 20-30 days until the box is out of memory and I have to
> reboot.

my theory, which i hope to prove/disprove tonight, is this is
happening to us:

postgres is slurping all that memory because it should- there's
probably a setting on your box that is letting it consumer more
shared memory than you want.
some issue with the kernel/postgres is not truly freeing the shared
memory when postmaster exits

in other words, i think the leak isn't in those 20-30 days-- i think
thats likely a configuration issue. but i think there is a leak
when you stop the daemon

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2006-10-03 20:26:28 Re: Need help with a function from hell..
Previous Message arsi 2006-10-03 19:26:50 Need help with a function from hell..