Re: Random slow queries - Mailing list pgsql-performance

From devel.brain99@xoxy.net
Subject Re: Random slow queries
Date
Msg-id CACjsgDmabSJCS4kYJ5-XYsgwhTN4wBhUyrJ4PBt-CMOyxzzZfA@mail.gmail.com
Whole thread Raw
In response to Re: Random slow queries  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On 29 June 2016 at 22:20, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Don't know if it would be practical for you at all, but if you could
> attach to a process that's stuck like this with a debugger and get a stack
> trace, that would probably be very informative.

It seems I have found the cause of my issues: my antivirus software.
When I tried to debug a stuck process, the currently executing code was in
some DLL without debugging information etc. When checking where the DLL came
from, it appeared to be from the security software I had installed.

I had been meaning to change because I have had some performance issues in
the past (nowhere near as bad as this issue though!) but hadn't yet gotten
around to it. After switching this weekend, the issue went away completely.

Even though I had previously noticed some performance issues with my
antivirus, I must say this still is a very weird failure mode - especially
as it still occurred if I disabled all realtime protection (one of the
first things I tried, even if not mentioned in my earlier emails).

Thanks for the time spent trying to help!

Best regards,
Roel



pgsql-performance by date:

Previous
From: trafdev
Date:
Subject: Re: less than 2 sec for response - possible?
Next
From: Vladimir Borodin
Date:
Subject: Re: [HACKERS] 9.4 -> 9.5 regression with queries through pgbouncer on RHEL 6