From: Steve Frampton <frampton@LinuxNinja.com>
To: pgsql-admin@postgresql.org
Subject: Re: Race condition in 7.1.2?
Date: Wed, 3 Oct 2001 07:41:18 -0400 (EDT)
Message-ID: <Pine.LNX.4.33.0110030738130.17753-100000@astro.phpwebhosting.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0110030718500.17753-100000@astro.phpwebhosting.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 3 Oct 2001, Steve Frampton wrote:
> But I noticed, sometimes, the final stage of my processing never
> completes, and PostgreSQL is spiralling the CPU at almost 100%. I
> have to kill the process, which is thankfully detected by my
> application which does a rollback.
>
> Anyway, I'm quite sure it isn't my software that is causing this, because
> if I do a simple vacuum after the rollback, and then run the same sequence
> again, the final stage completes as quickly as I've come to expect.
Just thought I'd add that, when my process runs normally, PostgreSQL takes
between 30% and 50% of CPU. Only when this mysterious condition occurs
does it hit near 100%. Also, I happened to notice upon vacuuming the DB
the last time this happened, slightly larger than a multiple of my tuples
were deleted from the index -- which seems to indicate that my application
did the processing it was supposed to have done, but somehow PostgreSQL
got "stuck" on the final update.
Strange.
- ---------------< LINUX: The choice of a GNU generation. >-------------
Steve Frampton <frampton@LinuxNinja.com> http://www.LinuxNinja.com
GNU Privacy Guard ID: D055EBC5 (see http://www.gnupg.org for details)
GNU-PG Fingerprint: EEFB F03D 29B6 07E8 AF73 EF6A 9A72 F1F5 D055 EBC5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7uvlhmnLx9dBV68URAvBQAJ9oeMWMpKmw0br/ISXrlKgZLe80xQCggg5Y
R8RPG9jyVuzo2TV3qoLquLY=
=3st0
-----END PGP SIGNATURE-----
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: frampton@LinuxNinja.com
Subject: Re: Race condition in 7.1.2?
In-Reply-To: <Pine.LNX.4.33.0110030738130.17753-100000@astro.phpwebhosting.com>
References: <Pine.LNX.4.33.0110030718500.17753-100000@astro.phpwebhosting.com> <Pine.LNX.4.33.0110030738130.17753-100000@astro.phpwebhosting.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