Re: Running out of memory at vacuum - Mailing list pgsql-general

From Jeff Janes
Subject Re: Running out of memory at vacuum
Date
Msg-id CAMkU=1wFmr6t1QCVvixXDBMspM56vR_Ue1gWFrVW94dhwKjj4g@mail.gmail.com
Whole thread Raw
In response to Re: Running out of memory at vacuum  (Ioana Danes <ioanasoftware@yahoo.ca>)
Responses Re: Running out of memory at vacuum  (Ioana Danes <ioanasoftware@yahoo.ca>)
List pgsql-general
On Thu, May 16, 2013 at 6:35 AM, Ioana Danes <ioanasoftware@yahoo.ca> wrote:
Hi Jeff,

On Tuesday, May 14, 2013, Ioana Danes wrote:

The fix is to restart postgres ... If I only close the connections the problem is still these so I need to restart postgres.

How are you closing the connections?

I restart the application server. The problem is that the max_idle connections was set to 1000 on jdbc connection so once the spike happened the app would run with 300 connections and 250 of them or so IDLE for most of the time. I am fixing that


Hi Ionana,  thanks for the responses.  Does restarting the app server successfully cause all of those connections to terminate?  If so, and yet you still have memory problems, then there is still the mystery of where the memory is going.

Cheers,

Jeff


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Schema (Search path issue) on PostgreSQL9.2
Next
From: JotaComm
Date:
Subject: WAL contains references to invalid pages