Skip site navigation (1) Skip section navigation (2)

Re: Autovacuum running out of memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Jason Lustig <lustig(at)brandeis(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Autovacuum running out of memory
Date: 2007-10-16 15:10:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Richard Huxton <dev(at)archonet(dot)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

In response to


pgsql-performance by date

Next:From: Heikki LinnakangasDate: 2007-10-16 15:22:48
Subject: Re: using a stored proc that returns a result set in a complex SQL stmt
Previous:From: Rodrigo GonzalezDate: 2007-10-16 15:00:36
Subject: Re: Autovacuum running out of memory

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group