Re: shared_buffers Question

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: "Joe Lester" <joe_lester(at)sweetwater(dot)com>
Cc: "postgres list" <pgsql-general(at)postgresql(dot)org>, scott_ribe(at)killerbytes(dot)com
Subject: Re: shared_buffers Question
Date: 2004-08-19 16:21:50
Message-ID: 1092932510.17763.48.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-08-19 16:36:54 Re: BUG: 8.0 beta1 does not run on Windows 2000 Terminal Server
Previous Message Jochem van Dieten 2004-08-19 16:02:11 Re: Stored Procedures woes