Re: Random slow queries

From: devel(dot)brain99(at)xoxy(dot)net
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Random slow queries
Date: 2016-07-04 12:19:08
Message-ID: CACjsgDmabSJCS4kYJ5-XYsgwhTN4wBhUyrJ4PBt-CMOyxzzZfA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 29 June 2016 at 22:20, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Vladimir Borodin 2016-07-04 13:30:51 Re: [HACKERS] 9.4 -> 9.5 regression with queries through pgbouncer on RHEL 6
Previous Message trafdev 2016-07-02 02:48:06 Re: less than 2 sec for response - possible?