From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: jkoceniak@mediamath.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9635: Wal sender process is using 100% CPU
Date: Tue, 25 Mar 2014 13:43:37 +0200
Message-ID: <53316BE9.9040302@vmware.com> (raw)
In-Reply-To: <20140319171356.16843.16140@wrigleys.postgresql.org>
References: <20140319171356.16843.16140@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 03/19/2014 07:13 PM, jkoceniak@mediamath.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 9635
> Logged by: Jamie Koceniak
> Email address: jkoceniak@mediamath.com
> PostgreSQL version: 9.1.9
> Operating system: x86_64-unknown-linux-gnu (Debian 4.7.2-5) 64-bit
> Description:
>
> Periodically throughout the day, we keep seeing the wal sender process
> utilize 100% of the CPU. We began noticing this after we added 2 new slave
> servers, going from 2 to 4 slaves. See top results and I also included our
> wal settings. Thanks!
Hmm. There was a bug that caused walsender to go into a busy-loop, when
the standby disconnected. But that was fixed in 9.1.4 already.
Could you attach to one of the processes with gdb and see what functions
are being called? Or strace, or "perf top" or something.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: hlinnakangas@vmware.com, jkoceniak@mediamath.com
Subject: Re: BUG #9635: Wal sender process is using 100% CPU
In-Reply-To: <53316BE9.9040302@vmware.com>
References: <20140319171356.16843.16140@wrigleys.postgresql.org> <53316BE9.9040302@vmware.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