Re: Autovacuum running out of memory - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Autovacuum running out of memory
Date
Msg-id 4714AD30.6000103@archonet.com
Whole thread Raw
In response to Re: Autovacuum running out of memory  (Jason Lustig <lustig@brandeis.edu>)
Responses Re: Autovacuum running out of memory
Re: Autovacuum running out of memory
List pgsql-performance
Jason Lustig wrote:
> There isn't any more error message than this... it simply repeats every
> minute or so, which is really quite strange. And the user & db is really
> blank in the log, I didn't trim it (if I did I would have replaced it
> with dummy values).

Hmm - odd that you're not getting any connection details.

> I'm using pg 8.2.4 on Linux 2.6.15.

Fair enough.

>>> Oct 16 06:43:47 [2897]: [1-1]  user=,db= ERROR:  out of memory
>>> Oct 16 06:43:47 [2897]: [1-2]  user=,db= DETAIL:  Failed on request
>>> of size 524287998.

Well, since this is about 500MB and your maintenance_work_mem is set to
500MB that's the obvious place to start. It might just be that you've
not got enough free memory.

What happens if you set maintenance_work_mem to say 50MB?

--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Jason Lustig
Date:
Subject: Re: Autovacuum running out of memory
Next
From: Jason Lustig
Date:
Subject: Re: Autovacuum running out of memory