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

From Tom Lane
Subject Re: Autovacuum running out of memory
Date
Msg-id 16500.1192547417@sss.pgh.pa.us
Whole thread Raw
In response to Re: Autovacuum running out of memory  (Richard Huxton <dev@archonet.com>)
Responses Re: Autovacuum running out of memory
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Rodrigo Gonzalez
Date:
Subject: Re: Autovacuum running out of memory
Next
From: chrisj
Date:
Subject: using a stored proc that returns a result set in a complex SQL stmt