Re: High SYS CPU - need advise

From: Vlad <marchenko(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: High SYS CPU - need advise
Date: 2012-11-21 17:05:05
Message-ID: CAKeSUqWdscuKRwX-ZeK=LQQ-EudPdZLCGqAB6LV4A7DuQjG-UQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

it's session mode and the pool size is 1200 (cause I need to grantee that
in the worst case we have enough slots for all possible clients), however
even at the times preceding high-cpu-sys-stall, the number postmasters are
like 15-20. When stall happens, it starts to raise but that's the result of
DB not answering in timely manner.

as far as data - yes, I can probably clean up names and provide some data
with same queries, though - we are not able to cause a stall just with
those queries & pgbench; we are able to make the situation worse and stall
much likely when it's overlapped with regular queries coming from our app.

-- Vlad

On Wed, Nov 21, 2012 at 10:45 AM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:

> On Wed, Nov 21, 2012 at 10:43 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> > On Wed, Nov 21, 2012 at 7:29 AM, Vlad Marchenko <marchenko(at)gmail(dot)com>
> wrote:
> >
> >> update on my problem: despite pgbouncer, the problem still occures on my
> >> end.
> >
> > As Merlin asked, how big is the pool? Maybe you are using a large
> > enough pool so as to defeat the purpose of restricting the number of
> > connections.
>
> also, what mode.
>
> merlin
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2012-11-21 17:09:32 Re: High SYS CPU - need advise
Previous Message Merlin Moncure 2012-11-21 16:45:48 Re: High SYS CPU - need advise