Received: from www.vgkk.com ([216.255.225.4]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f99NMZn17493 for ; Tue, 9 Oct 2001 19:22:36 -0400 (EDT) (envelope-from rmager@vgkk.com) Received: from [61.202.206.130] (helo=rmagervm) by www.vgkk.com with smtp (Exim 3.31 #7) id 15r5sZ-0003AT-00 for pgsql-admin@postgresql.org; Wed, 10 Oct 2001 08:01:39 +0900 From: "Rainer Mager" To: Subject: Re: Vacuum Date: Wed, 10 Oct 2001 08:00:54 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <000f01c150c5$11dd9c00$1b6b5ba5@tamu.edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200110/83 X-Sequence-Number: 2329 Hi all, I haven't been following this thread that carefully but when yesterday we also had vacuuming problems I decided I should. Reading this message shows that Summer's problem seems to be different than ours although they could be connected. Yesterday our application stopped responding. After a little investigation we found that 1 process on the db box was using 100% CPU. Via the ps command we could see that there were 2 processes running continuously, a 'vacuum' and a 'query'. Unfortunately I failed to note which was using 100% CPU. At the time of discovery the run-a-way process had used almost 1 hour CPU time. Since the app wasn't responding I'm assuming one or more other processes were blocked. I can only guess that the vacuum process was the long one because under typical usage no queries in the application run for more than a few seconds. I have since restarted the db with debug output turned on in order to track down the queries. Any other ideas or suggestions? BTW, we're running with PG 7.1.3. Thanks, --Rainer > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Summer S. Wilson > Sent: Tuesday, October 09, 2001 10:20 PM > To: pgsql-admin@postgresql.org > Cc: tgl@sss.pgh.pa.us > Subject: Re: [ADMIN] Vacuum > > > Hi Tom, > > It does not appear to be consuming any CPU time, its just sitting there. > I'm not sure what would be connected to it because we have nothing live > right now, and none of the pages related to that table have been designed > yet. Is there a safe way to end the vacuum? > > > Summer S. Wilson ICQ 26835530 > Programmer/Analyst I, EIT TCE > Webmaster, An Eclectic World http://eclectic-world.com