Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whd7P-0002v8-B0 for pgsql-bugs@arkaria.postgresql.org; Tue, 06 May 2014 11:01:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Whd7O-0007az-MV for pgsql-bugs@arkaria.postgresql.org; Tue, 06 May 2014 11:01:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whd7O-0007at-30 for pgsql-bugs@postgresql.org; Tue, 06 May 2014 11:01:02 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whd7I-0007sb-DF for pgsql-bugs@postgresql.org; Tue, 06 May 2014 11:01:00 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 97001287F5; Tue, 6 May 2014 04:00:51 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 94E65403E7; Tue, 6 May 2014 04:00:51 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 3DA7812000A; Tue, 6 May 2014 04:00:55 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Tue, 6 May 2014 04:00:54 -0700 (PDT) Message-ID: <5368C0DD.3030205@vmware.com> Date: Tue, 06 May 2014 14:00:45 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Jamie Koceniak CC: "pgsql-bugs@postgresql.org" Subject: Re: BUG #9635: Wal sender process is using 100% CPU References: <20140319171356.16843.16140@wrigleys.postgresql.org> <53316BE9.9040302@vmware.com> <84CE67AB46ACDA41B18094177DD0853D212241@ORD2MBX04C.mex05.mlsrvr.com> In-Reply-To: <84CE67AB46ACDA41B18094177DD0853D212241@ORD2MBX04C.mex05.mlsrvr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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