Re: Queries getting canceled inside a proc that seems to slow down randomly

From: Skarsol <skarsol(at)gmail(dot)com>
To: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Queries getting canceled inside a proc that seems to slow down randomly
Date: 2016-01-11 19:41:19
Message-ID: CAMt8e=Gc==WnzSAeTM+GcfedYdZO2TZLmn-bffq8N3G4izEeoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Jan 11, 2016 at 1:39 PM, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> wrote:

> On 1/11/16 1:32 PM, Skarsol wrote:
>
>> pgbouncer (S-0x17fd780 entries):
>> 2016-01-11 12:21:46.600 32905 LOG S-0x17fd780:
>> edi01/editor(at)127(dot)0(dot)0(dot)1:6432 <http://editor(at)127(dot)0(dot)0(dot)1:6432> closing
>> because: server idle timeout (age=612)
>> 2016-01-11 12:23:28.142 32905 LOG S-0x17fd780:
>> edi01/editor(at)127(dot)0(dot)0(dot)1:6432 <http://editor(at)127(dot)0(dot)0(dot)1:6432> new
>> connection to server
>> 2016-01-11 12:23:28.143 32905 LOG S-0x17fd780:
>> edi01/editor(at)127(dot)0(dot)0(dot)1:6432 <http://editor(at)127(dot)0(dot)0(dot)1:6432> closing
>> because: sent cancel req (age=0)
>> 2016-01-11 12:26:31.510 32905 LOG S-0x17fd780:
>> edi01/editor(at)127(dot)0(dot)0(dot)1:6432 <http://editor(at)127(dot)0(dot)0(dot)1:6432> new
>> connection to server
>>
>
> This makes me think there's a race condition in pgBouncer, or that their
> logging is just confusing.
>
> --
> Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
> Experts in Analytics, Data Architecture and PostgreSQL
> Data in Trouble? Get it in Treble! http://BlueTreble.com
>

Okay, I'll go visit the pgbouncer guys and see if they can shed any light.
Thanks.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jinhua Luo 2016-01-13 10:03:35 Re: insert performance
Previous Message Jim Nasby 2016-01-11 19:39:42 Re: Queries getting canceled inside a proc that seems to slow down randomly