pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rainer Mager <rmager@vgkk.com>
To: pgsql-admin@postgresql.org
Subject: Re: Vacuum
Date: Wed, 10 Oct 2001 08:00:54 +0900
Message-ID: <NEBBJBCAFMMNIHGDLFKGEEALFEAA.rmager@vgkk.com> (raw)
In-Reply-To: <000f01c150c5$11dd9c00$1b6b5ba5@tamu.edu>

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




view thread (33+ messages)  latest in thread

Message-ID: <NEBBJBCAFMMNIHGDLFKGEEALFEAA.rmager@vgkk.com>
Permalink:  ../NEBBJBCAFMMNIHGDLFKGEEALFEAA.rmager@vgkk.com/
Also on:    postgresql.org/message-id/NEBBJBCAFMMNIHGDLFKGEEALFEAA.rmager@vgkk.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rmager@vgkk.com
  Subject: Re: Vacuum
  In-Reply-To: <NEBBJBCAFMMNIHGDLFKGEEALFEAA.rmager@vgkk.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox