Re: autovacuum launcher process eating up 17G+ of ram? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: autovacuum launcher process eating up 17G+ of ram?
Date
Msg-id 4CC18EF60200002500036CF3@gw.wicourts.gov
Whole thread Raw
In response to Re: autovacuum launcher process eating up 17G+ of ram?  (Nick <t32@2thebatcave.com>)
Responses Re: autovacuum launcher process eating up 17G+ of ram?
List pgsql-admin
Nick <t32@2thebatcave.com> wrote:

> Here is a vmstat 1 right after postgres has been started:
>
> procs -----------memory----------
>  r  b   swpd   free   buff  cache
>  0  0  55480 760172 1709424 3758492

> Here is another chunk after it's been running for about 18 hours:
>
> procs -----------memory----------
>  r  b   swpd   free   buff  cache
>  0  0 1812168  20332  59452 102172

> Here is a snapshot of all the postgres processes as listed in top
> (29582 = postgres: autovacuum launcher process):
>
> 29582 pgsql     15   0 8739m 6.7g 1816 S  8.9 86.1  91:10.44
> postgres

Ouch!

I've not seen anything remotely like that.  I wonder what's
different....

> As you can see, after a while the system is using a lot of swap.
> The first time I noticed the problem, the swap was up to 12G
> (there is 8GB of ram in this system).  I believe postgres was
> running for several days to achieve that much memory utilization.

Is there anything unusual in the logs?

-Kevin

pgsql-admin by date:

Previous
From: Nick
Date:
Subject: Re: autovacuum launcher process eating up 17G+ of ram?
Next
From: maiesky@poczta.onet.pl
Date:
Subject: Unable to backup table when quotation marks used in the name