Re: shared_buffers Question - Mailing list pgsql-general

From Scott Marlowe
Subject Re: shared_buffers Question
Date
Msg-id 1092932510.17763.48.camel@localhost.localdomain
Whole thread Raw
In response to Re: shared_buffers Question  (Joe Lester <joe_lester@sweetwater.com>)
List pgsql-general
Is the memory freed up if you shut down and restart PostgreSQL?  If not,
then it might not be PostgreSQL that's directly causing the issue, but
something like logging.  What OS is this by the way?

On Tue, 2004-08-17 at 15:10, Joe Lester wrote:
> Thanks for the suggestion Scott. I did a...
>
> find / -type f -size +100000 -print
>
> The results contained 9 Gig! of swap files:
> /private/var/vm/swapfile0
> /private/var/vm/swapfile1
> /private/var/vm/swapfile10
> .... [plus many more entries]
>
> That seems to indicate to me a memory "leak" of some sort. My
> symptomsmirror almost exactly those of this fellow, who's thread was
> neverresolved as far as I can see:
>
> http://archives.postgresql.org/pgsql-bugs/2004-06/msg00013.php
>
> Anyone have any other suggestions on what to look for? At this rateI'm
> leaking about 2 to 4 Gigs of memory (swap) per week. I'm
> runningpostgres 7.4.1 on an 700MHz eMac, 512MB RAM, OS 10.3.2. Thanks.
>
> > Scott Ribe:
> > Also check to make sure that some rogue process somewhere
> isn'tfilling your
> > hard disk with some huge log file. I don't remember the UNIX
> commands
> > offhand, but you should sudo a search starting in / for all
> largefiles, say
>
> Joe's Original Message:
> I've been running a postgres server on a Mac (10.3, 512MBRAM) with 200
> clients connecting for about 2 months without a crash.However just
> yesterday the database and all the clients hung. When Ilooked at the
> Mac I'm using as the postgres server it had a window upthat said that
> there was no more disk space available to write memorytoo. I ended up
> having to restart the whole machine. I would like toconfigure postgres
> so that is does not rely so heavily on disk-basedmemory but, rather,
> tries to stay within the scope of the 512MB ofphysical memory in the
> Mac.


pgsql-general by date:

Previous
From: Jochem van Dieten
Date:
Subject: Re: Stored Procedures woes
Next
From: Bruce Momjian
Date:
Subject: Re: BUG: 8.0 beta1 does not run on Windows 2000 Terminal Server