From 2le@2le.net Thu Sep 6 00:12:17 2001 Received: from mail1.hub.org (webmail.hub.org [216.126.85.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f860CH794504 for ; Wed, 5 Sep 2001 20:12:17 -0400 (EDT) (envelope-from 2le@2le.net) Received: from mail.evhr.net (mail.evhr.net [212.94.192.3]) by mail1.hub.org (8.11.3/8.11.4) with ESMTP id f860CG494469 for ; Wed, 5 Sep 2001 20:12:16 -0400 (EDT) (envelope-from 2le@2le.net) Received: from CALISTO (ip-161-78.evhr.net [213.169.161.78]) by mail.evhr.net (8.9.3/8.9.3) with SMTP id PAA32162 for ; Wed, 5 Sep 2001 15:53:49 +0200 Message-ID: <000201c13619$3103f5f0$473e05c0@CALISTO> Reply-To: =?iso-8859-1?Q?S=E9bastien_HEITZMANN?= <2le@2le.net> From: =?iso-8859-1?Q?S=E9bastien_HEITZMANN?= <2le@2le.net> To: Subject: Vacuum and deadlock. Date: Wed, 5 Sep 2001 16:11:43 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01C13625.74519CC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200109/9 X-Sequence-Number: 2109 C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0032_01C13625.74519CC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Since some week I have some trouble with my database. I use postgres v 7.1.= 2 on redhat 7.0 The trouble is that the database lock when in the night some user left an a= pplication open ( which do some read on some table) and the night process o= f backup and vacuum happend. The database stay in a deadlock until I restart it manually on the morning. At the moment I've told the users to stop their application but it's not re= ally a solution. Does someone have any idea ? Thanks S=E9bastien HEITZMANN 2LE - http://www.2le.net 2le@2le.net - 03 89 32 76 22 ------=_NextPart_000_0032_01C13625.74519CC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Since some week I have some trouble with m= y=20 database. I use postgres v 7.1.2 on redhat 7.0
 
The trouble is that the database lock when= in the=20 night some user left an application open ( which do some read on some table= ) and=20 the night process of backup and vacuum happend.
The database stay in a deadlock until I re= start it=20 manually on the morning.
 
At the moment I've told the users to stop = their=20 application but it's not really a solution.
 
Does someone have any idea ?
 
Thanks
 
S=E9bastien HEITZMANN
2LE - http://www.2le.net
2le@2le.net - 03 89 32 76=20 22
------=_NextPart_000_0032_01C13625.74519CC0-- From jeremy@wellsgaming.com Thu Sep 6 16:21:33 2001 Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f86GLW717279 for ; Thu, 6 Sep 2001 12:21:33 -0400 (EDT) (envelope-from jeremy@wellsgaming.com) Received: from localhost (rno-dsl0b-131.gbis.net [216.82.145.131]) by mail.greatbasin.net (8.9.3-MySQL-0.2.3b/8.9.3) with ESMTP id JAA08358; Thu, 6 Sep 2001 09:21:31 -0700 (PDT) Message-Id: <200109061621.JAA08358@mail.greatbasin.net> Date: Thu, 6 Sep 2001 09:22:29 -0700 From: Jeremy Buchmann Content-Type: text/plain; format=flowed; charset=iso-8859-1 Subject: Re: Vacuum and deadlock. Cc: To: =?iso-8859-1?Q?S=E9bastien_HEITZMANN?= <2le@2le.net> X-Mailer: Apple Mail (2.388) In-Reply-To: <000201c13619$3103f5f0$473e05c0@CALISTO> Mime-Version: 1.0 (Apple Message framework v388) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f86GLX717281 X-Archive-Number: 200109/19 X-Sequence-Number: 2119 On Wednesday, September 5, 2001, at 07:11 AM, Sébastien HEITZMANN wrote: > Since some week I have some trouble with my database. I use postgres v > 7.1.2 on redhat 7.0 >   > The trouble is that the database lock when in the night some user left > an application open ( which do some read on some table) and the night > process of backup and vacuum happend. > The database stay in a deadlock until I restart it manually on the > morning. Why don't you just kill all the connections before running vacuum? Jeremy Buchmann [jeremy@wellsgaming.com]