Re: vacuum won't even start

From: Jean-Christophe Praud <jc(at)steek(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum won't even start
Date: 2009-09-09 18:43:54
Message-ID: 4AA7F76A.6060509@steek.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane a écrit :
> Jean-Christophe Praud <jc(at)steek(dot)com> writes:
>
>> Indeed, the tables I tried to vacuum have locks on them.
>> AccessShareLock belonging to queries which seem sleeping. I tried to
>> kill these queries but pg_cancel_backend() has no effect, and the
>> process doesn't get the 15 signal.
>>
>
>
>> How can I get rid of these blocking queries without restarting the
>> server ? They are not listed as "waiting" in pg_stat_activity.
>>
>
> Have you tried killing the connected client sessions?
>
> regards, tom lane
>
It works !

I had pgbouncer connections hanging for several days.

Thanks for your help :)

Regards,

--
JC
Ph'nglui mglw'nafh Cthulhu n'gah Bill R'lyeh Wgah'nagl fhtagn!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message andriy neverenchuk 2009-09-09 20:03:00 help me please with function
Previous Message Tom Lane 2009-09-09 17:49:11 Re: vacuum won't even start