473,320 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Need help with Dead Lock - reg.

Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #1
6 1426
I believe that setting can be found in your postgresql.conf file.
Change it there and restart the postmaster.

Mike
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:
Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #2
I believe that setting can be found in your postgresql.conf file.
Change it there and restart the postmaster.

Mike
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:
Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #3
Dear Mike,
Thank you for your response. I have made the
required changes. But is there any optimum value for this?

Regards,
Shan.

mike g wrote:
I believe that setting can be found in your postgresql.conf file.
Change it there and restart the postmaster.

Mike
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:

Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #4
Dear Mike,
Thank you for your response. I have made the
required changes. But is there any optimum value for this?

Regards,
Shan.

mike g wrote:
I believe that setting can be found in your postgresql.conf file.
Change it there and restart the postmaster.

Mike
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:

Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #5
I would consider the default probably an optimum value. If you are having to increase it to keep your applications working then there are other issues that need to be addressed. Increasing it might keep the applications "working" but the users will probably still complain about the poor performance of it.

On Mon, Jun 21, 2004 at 07:14:16PM +0530, Shanmugasundaram Doraisamy wrote:
Dear Mike,
Thank you for your response. I have made the
required changes. But is there any optimum value for this?

Regards,
Shan.

mike g wrote:
I believe that setting can be found in your postgresql.conf file.
Change it there and restart the postmaster.

Mike
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:

Dear Group,
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.

Regards,
Shan.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #6
Mike G <mi**@thegodshalls.com> writes:
On Sat, 2004-06-19 at 13:12, Shanmugasundaram Doraisamy wrote:
Is there a way to increase the time of Dead Lock?
The default is set to 1000 msec.
I would consider the default probably an optimum value. If you are
having to increase it to keep your applications working then there are
other issues that need to be addressed.


AFAIK, neither increasing nor decreasing that timeout will have the
slightest effect on whether your apps get deadlock failures. All it
does is determine how quickly an existing deadlock is detected.
A shorter timeout means you wait less long to be told of a deadlock,
but it also causes more cycles to be spent checking for deadlocks
that may not exist. If you've got apps that are designed not to ever
deadlock, then you might want to kick the timeout up a lot to ensure
you don't waste time on deadlock checks even under heavy load.

So I'm wondering what the OP's problem *really* is; whatever it is,
I doubt that fooling with deadlock_timeout will solve it.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: gigijk | last post by:
Hi, I have an application that causes a dead lock at random. The issue I am having is, when the deadlock occurs, my applications is not recieving any errors from the DB. ie, during the deadlock...
1
by: Rohit Raghuwanshi | last post by:
Hello all, we are running a delphi application with DB2 V8.01 which is causing deadlocks when rows are being inserted into a table. Attaching the Event Monitor Log (DEADLOCKS WITH DETAILS) here....
0
by: Shanmugasundaram Doraisamy | last post by:
Dear Group, Is there a way to increase the time of Dead Lock? The default is set to 1000 msec. Regards, Shan. ---------------------------(end of broadcast)--------------------------- TIP 7:...
0
by: dnphamus13 | last post by:
I'm new to this and drowning right now. I would like to put my database online for viewing. I managed to do the filtering but i need to do PAGING as the XML doc get bigger. From what i understand...
17
by: euan_woo | last post by:
Hi, Sometimes my program stops and when I break it I see 2 threads both waiting at a lock statement trying to lock the same object. If I look up the call stack of these threads there aren't any...
19
by: ash | last post by:
hi friends, i have some questions whch is in my last year question papers.i need some help to get logic of these questions. 1) write a C function, that takes two strings as arguments and...
4
by: misterutterbag | last post by:
Hi. Given the following: ---------------- String lockSubscriptionQuery = "SELECT subscriptionId FROM subscription WHERE subscriptionId = ? FOR UPDATE"; pStmt =...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside...
1
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.