pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Vacuum and deadlock.
2+ messages / 2 participants
[nested] [flat]

* Vacuum and deadlock.
@ 2001-09-05 14:11  Sébastien HEITZMANN <2le@2le.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Sébastien HEITZMANN @ 2001-09-05 14:11 UTC (permalink / raw)
  To: pgsql-admin

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.

At the moment I've told the users to stop their application but it's not really a solution.

Does someone have any idea ?

Thanks

Sébastien HEITZMANN
2LE - http://www.2le.net
2le@2le.net - 03 89 32 76 22

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Vacuum and deadlock.
@ 2001-09-06 16:22  Jeremy Buchmann <jeremy@wellsgaming.com>
  parent: Sébastien HEITZMANN <2le@2le.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeremy Buchmann @ 2001-09-06 16:22 UTC (permalink / raw)
  To: Sébastien HEITZMANN <2le@2le.net>; +Cc: pgsql-admin


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]



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-09-06 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-09-05 14:11 Vacuum and deadlock. Sébastien HEITZMANN <2le@2le.net>
2001-09-06 16:22 ` Jeremy Buchmann <jeremy@wellsgaming.com>

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