Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 30F2F9FB298 for ; Tue, 3 Oct 2006 04:36:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 00688-04 for ; Tue, 3 Oct 2006 07:36:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp-msa-out19.orange.fr (smtp19.orange.fr [80.12.242.19]) by postgresql.org (Postfix) with ESMTP id BE6969F9D99 for ; Tue, 3 Oct 2006 04:36:27 -0300 (ADT) Received: from [192.168.1.192] (LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr [82.127.21.178]) by mwinf1921.orange.fr (SMTP Server) with ESMTP id E32EE1C0008A; Tue, 3 Oct 2006 09:36:22 +0200 (CEST) X-ME-UUID: 20061003073622930.E32EE1C0008A@mwinf1921.orange.fr Subject: Re: High CPU Load From: =?ISO-8859-1?Q?J=E9r=F4me?= BENOIS To: pgsql-performance@postgresql.org Cc: infra@sharengo.org In-Reply-To: <1158911032.5473.94.camel@localhost.localdomain> References: <1158239339.5226.17.camel@localhost.localdomain> <450A75DE.6050102@logix-tt.com> <1158590646.5665.71.camel@localhost.localdomain> <450FBE15.9010905@logix-tt.com> <1158670101.5204.14.camel@localhost.localdomain> <450FEC1E.7080600@logix-tt.com> <1158911032.5473.94.camel@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-g2a/6Sj4jLrcWRUFQPCs" Date: Tue, 03 Oct 2006 09:36:22 +0200 Message-Id: <1159860982.5060.39.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200610/23 X-Sequence-Number: 21152 --=-g2a/6Sj4jLrcWRUFQPCs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All, I reply to me, we solved a CPU Load problem. We had an external batch who used an expensive SQL view and took 99% of the CPU. Thanks all for you help ! ------------------- I started the HAPlatform open-source project is a part of Share'nGo Project, this goal is define all documentation and scripts required to install and maintain High Available platform. Tow platform are targeted : * LAPJ : Linux Apache PostgreSQL Java * LAMP : Linux Apache MySQL PHP The first documentation is here (it's my postgres configuration) : http://sharengo.org/haplatform/docs/PostgreSQL/en/html_single/index.html Cheers, J=C3=A9r=C3=B4me. --=20 Open-Source : http://www.sharengo.org Corporate : http://www.argia-engineering.fr Le vendredi 22 septembre 2006 =C3=A0 09:43 +0200, J=C3=A9r=C3=B4me BENOIS a= =C3=A9crit : > Hi, Markus, >=20 > Le mardi 19 septembre 2006 =C3=A0 15:09 +0200, Markus Schaber a =C3=A9cri= t : > > Hi, Jerome, > >=20 > > J=C3=A9r=C3=B4me BENOIS wrote: > >=20 > > >>> Now i Have 335 concurrent connections, i decreased work_mem paramet= er to > > >>> 32768 and disabled Hyper Threading in BIOS. But my CPU load is stil= l > > >>> very important. > > >> What are your settings for commit_siblings and commit_delay? > > > It default : > > >=20 > > > #commit_delay =3D 01 # range 0-100000, inmicroseconds > > > #commit_siblings =3D 5 # range 1-1000 > >=20 > > You should uncomment them, and play with different settings. I'd try a > > commit_delay of 100, and commit_siblings of 5 to start with. > >=20 > > > I plan to return to previous version : 7.4.6 in and i will reinstall = all > > > in a dedicated server in order to reproduce and solve the problem. > >=20 > > You should use at least 7.4.13 as it fixes some critical buts that were > > in 7.4.6. They use the same on-disk format and query planner logic, so > > they should not have any difference. > >=20 > > I don't have much more ideas what the problem could be. > >=20 > > Can you try to do some profiling (e. G. with statement logging) to see > > what specific statements are the one that cause high cpu load? > >=20 > > Are there other differences (besides the PostgreSQL version) between th= e > > two installations? (Kernel, libraries, other software...) > nothing. >=20 > I returned to the previous version 7.4.6 in my production server, it's > work fine ! >=20 > And I plan to reproduce this problem in a dedicated server, and i will > send all informations in this list in the next week. >=20 > I hope your help for solve this problem. >=20 > Cheers, > J=C3=A9r=C3=B4me. >=20 > > HTH, > > Markus --=-g2a/6Sj4jLrcWRUFQPCs Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFIhL2CDKlmlhpwnERAovlAJ9VkKjDKNGYG/M95mJQ/JhCOELWlACfcDtv 1IXB70mm+kmEJMyJuQQs68E= =qXyU -----END PGP SIGNATURE----- --=-g2a/6Sj4jLrcWRUFQPCs--