From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Jamie Koceniak <jkoceniak@mediamath.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #9635: Wal sender process is using 100% CPU
Date: Tue, 06 May 2014 14:00:45 +0300
Message-ID: <5368C0DD.3030205@vmware.com> (raw)
In-Reply-To: <84CE67AB46ACDA41B18094177DD0853D212241@ORD2MBX04C.mex05.mlsrvr.com>
References: <20140319171356.16843.16140@wrigleys.postgresql.org>
<53316BE9.9040302@vmware.com>
<84CE67AB46ACDA41B18094177DD0853D212241@ORD2MBX04C.mex05.mlsrvr.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 05/05/2014 10:37 PM, Jamie Koceniak wrote:
> Hi Heikki,
>
> I performed an strace on one of the pids that was consuming 100% of the cpu.
> This is just a portion of the log.
> I also trimmed out some data provided in the quotes in the read and sends, not sure if you need it.
> A majority of the calls in the trace log were recvfrom() and sendto().
> EAGAIN (Resource temporarily unavailable) came up time and time again.
>
> # strace log during 100% cpu utilization on the master
Hmm, that trace looks normal to me. It doesn't look like it's
busy-looping, as I would expect if it's using 100% of the CPU.
Can you post the full log, or at least a larger chunk? I don't need the
data in the quotes from read() and sends() that you removed, but I would
like to see the trace from a longer period of time to see what the
pattern is.
- 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: <5368C0DD.3030205@vmware.com>
References: <20140319171356.16843.16140@wrigleys.postgresql.org> <53316BE9.9040302@vmware.com> <84CE67AB46ACDA41B18094177DD0853D212241@ORD2MBX04C.mex05.mlsrvr.com> <5368C0DD.3030205@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