From: Joshua D. Drake <jd@commandprompt.com>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-performance@lists.postgresql.org, Patrick Molgaard <draaglom@gmail.com>
Subject: Re: Multi-second pauses blocking even trivial activity
Date: Fri, 7 Sep 2018 11:22:52 -0700
Message-ID: <486ce67e-f1d3-0a11-ce4b-8c422f8f3c46@commandprompt.com> (raw)
In-Reply-To: <DEC36FD8-41AD-4CDA-BC6C-72D04F12882B@a-kretschmer.de>
References: <CA+Zan4vzTKfpkMznCVkndO7XW6s7sMKpBYqNSToM8nOpjVidsw@mail.gmail.com>
<DEC36FD8-41AD-4CDA-BC6C-72D04F12882B@a-kretschmer.de>
On 09/07/2018 11:12 AM, Andreas Kretschmer wrote:
>> Intermittently (one or two times a week), all queries on that host are
>> simultaneously blocked for extended periods (10s of seconds).
>>
>> The blocked queries are trivial & not related to locking - I'm seeing
>> slowlogs of the form:
>>
>
> please check if THP are enabled.
Just to help out those who don't know I believe that Andreas is
referring to Transparent Huge Pages.
JD
>
>
> Regards, Andreas
>
>
>
--
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
*** A fault and talent of mine is to tell it exactly how it is. ***
PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
***** Unless otherwise stated, opinions are my own. *****
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jd@commandprompt.com, andreas@a-kretschmer.de, draaglom@gmail.com
Subject: Re: Multi-second pauses blocking even trivial activity
In-Reply-To: <486ce67e-f1d3-0a11-ce4b-8c422f8f3c46@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox