Re: [HACKERS] Re: ERROR: out of free buffers: time to abort !

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: pghackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: ERROR: out of free buffers: time to abort !
Date: 2000-01-08 20:07:35
Message-ID: 3283.947362055@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ed Loehr <eloehr(at)austin(dot)rr(dot)com> writes:
>> In the meantime, upping the number of buffers will at least postpone the
>> problem. But I'm worried that it may not solve it completely --- you
>> may still find that the error occurs after you've been running long
>> enough.

> Can I postpone/workaround the problem by periodic server restarts to reset
> the counts? Or is this a persistent thing across server restarts?

Yes, a postmaster restart would clean up the buffer reference counts.
I think there were also some less drastic code paths that would clean
them up --- you might try something as simple as deliberately inducing
an SQL error now and then, so that error cleanup runs.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-01-08 20:13:33 Re: [HACKERS] Another index "buglet"?
Previous Message The Hermit Hacker 2000-01-08 19:05:12 Re: [HACKERS] Another index "buglet"?