473,395 Members | 1,377 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,395 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 1431
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.