Search Postgresql Archives

Re: Help troubleshooting SubtransControlLock problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 7, 2018 at 3:50 PM, Alvaro Herrera <alvherre@xxxxxxxxxxxxxx> wrote:
>
> Scott Frazer wrote:
>
> > It's only happening on the read replicas, though. I've just set my master
> > to handle all the traffic, but that's not really sustainable
>
> I failed to notice at start of thread that these were replicas.  I
> suppose then you would have to be thinking about the range of XIDs in
> the primary server.  Maybe you left some old transaction open, or an
> uncommitted prepared transaction there?
>
> If not, I suppose you're up for some "perf" profiling ...

I think you got it. I found a 2-day old transaction on the master server that never closed. I had to pg_terminate_backend on it and the problem seems to have cleared up.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux