From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | micah(at)colltech(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: deadlock timeout? |
Date: | 2000-11-10 22:57:24 |
Message-ID: | 200011102257.RAA10253@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Hi,
>
> Does anyone know what the postgresql option deadlock_timeout does? I
> haven't been able to find any good docs. The config file
> (/etc/postgresql/pg_options) just says its how long to wait before deciding
> that there is a deadlock, but does this refer to idle connections or
> situations where a query is blocked waiting for a lock? I thought timing
> out idle connections might be useful in trouble shooting some postgres
> problems that we are having given that we are seeing a steadily increasing
> number of database connections. All these idle connections can't be
> helping.
I can't find that file inthe source tree, and the description is wrong.
The value is how quickly it will check for a deadlock while waiting for
a lock. It does not assume it has a deadlock because of any timeout.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-11-11 06:54:45 | Re: What does this mean? "NOTICE: AbortTransaction and not in in-progress state" |
Previous Message | Philip Hallstrom | 2000-11-10 21:43:26 | What does this mean? "NOTICE: AbortTransaction and not in in-progress state" |