pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Huxton <dev@archonet.com>
Cc: Jason Lustig <lustig@brandeis.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autovacuum running out of memory
Date: Tue, 16 Oct 2007 11:10:17 -0400
Message-ID: <16500.1192547417@sss.pgh.pa.us> (raw)
In-Reply-To: <4714AD30.6000103@archonet.com>
References: <374EB3D1-EE74-4B8C-9EEC-104ADD097568@brandeis.edu>
	<4714A458.5060408@archonet.com>
	<E8328FA1-800E-4684-93D2-A1002BB72396@brandeis.edu>
	<4714AD30.6000103@archonet.com>

Richard Huxton <dev@archonet.com> writes:
> Hmm - odd that you're not getting any connection details.

Not really; the autovacuum process doesn't have any connection, so those
log_line_prefix fields will be left empty.  The weird thing about this
is why the large maintenance_work_mem works for a regular session and
not for autovacuum.  There really shouldn't be much difference in the
maximum workable setting for the two cases, AFAICS.

Your later suggestion to check out the postgres user's ulimit -a
settings seems like the appropriate next step, but I'm not seeing
how ulimit would affect only some of the postmaster's children.

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <16500.1192547417@sss.pgh.pa.us>
Permalink:  ../16500.1192547417@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16500.1192547417@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dev@archonet.com, lustig@brandeis.edu
  Subject: Re: Autovacuum running out of memory
  In-Reply-To: <16500.1192547417@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox