Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 710AFB5DBDB for ; Mon, 10 Oct 2011 17:26:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 13646-05 for ; Mon, 10 Oct 2011 20:25:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from smtp.peak6.com (smtp.optionshouse.com [38.98.137.6]) by mail.postgresql.org (Postfix) with ESMTP id A3889B5DBDE for ; Mon, 10 Oct 2011 17:25:54 -0300 (ADT) X-AuditID: 0a64cb1e-b7c21ae0000074d4-2f-4e9354cd4a20 Message-ID: <4E9354D2.8010608@peak6.com> Date: Mon, 10 Oct 2011 15:25:54 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: alexandre - aldeia digital CC: undisclosed-recipients:;, Subject: Re: Adding more memory = hugh cpu load References: <4E92F294.9010405@gmail.com> <4E92FB87.1030703@peak6.com> <4E932BFC.7070007@gmail.com> In-Reply-To: <4E932BFC.7070007@gmail.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.220.61] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsXCxcQrpns2ZLKfwYq5WhYNf+4wWlyfeY7Z gclj56y77B4X9k1jD2CKamC0SczLyy9JLElVSEktTrZVCnB19DZTCC5JzEtJLEpRcMksTs5J zMxNLVJSyEyxVTJSUijISUxOzU3NK7FVSiwoSM1LUbLjUsAANkBlmXkKqXnJ+SmZeem2Sp7B /roWFqaWuoZKdvEIkNDNkjGn6yhzwRO2io+NuxkbGPeydjFyckgImEgs2/WJGcIWk7hwbz0b iM0roCEx984GdhCbRUBV4sX720wgNpuAmsTC3TcZQWwhAVmJ/avOgc3hFxCW2PehCWyOqECA xIJJbxkh5ghKnJz5hKWLkYNDRMBY4u39VJAws4CDxJ1t38FahQUsJQ5872EFKRESSJJY+pUR xOQU0JS48T0IotpW4sKc6ywQtrzE9rdzmCEOkJO40/CcDaRcQkBB4vpy/wmMQrOQrJ2FpHsW ku4FjMyrGMWLyxKTMzJNC4pzSwoM9QpSE7PN9PJSSzYxgiI25bTcDsbpSxUPMQpwMCrx8E50 nuQnxJpYVlyZe4hRgoNZSYS3W2eynxBvSmJlVWpRfnxRaU5q8SFGbWB4TWSW4k7OByaTvJJ4 YwMDJXHe28y1fkIC6cAEkJ2aWpBaBFPNxMEp1cCYG/l4f239/Q1LXOLvyPEWRvTNSExm5z7w JunQ6xI9xbv+pvFVJd1rth37pyCov9Nqtk1+4IRA++2Xl+z/Lb1/4u0Nz+8fCWrMqXdj/10f mHnXNDvsfFhJj9KF7+s4JuyduluyuMLm0xk3k7407Tdqa3NFFlsbWU906NnF0S604XFNs93E dCYlluKMREMt5qLiRABaC36D5AIAAA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/88 X-Sequence-Number: 45310 On 10/10/2011 12:31 PM, alexandre - aldeia digital wrote: > <2011-10-10 14:18:48 BRT >LOG: checkpoint complete: wrote 6885 buffers > (1.1%); 0 transaction log file(s) added, 0 removed, 1 recycled; > write=29.862 s, sync=28.466 s, total=58.651 s 28.466s sync time?! That's horrifying. At this point, I want to say the increase in effective_cache_size or shared_buffers triggered the planner to change one of your plans significantly enough it's doing a ton more disk IO and starving out your writes. Except you said you changed it back and it's still misbehaving. This also reminds me somewhat of an issue Greg mentioned a while back with xlog storms in 9.0 databases. I can't recall how he usually "fixed" these, though. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email