Re: [HACKERS] I want tips for debugging deadlocks

2000-10-09 Thread Fabrice Scemama
By the way, we finally understood that our main problem, the one that was making our Pg hang forever, comes from a deadlock problem. Same as Hannu's one. There are no deadlock detection, indeed. Good DBAs, or DBAs working with good coders, will never come across the problem :) but we did :( I th

Re: [HACKERS] I want tips for debugging deadlocks

2000-10-04 Thread Tom Lane
Fabrice Scemama <[EMAIL PROTECTED]> writes: > By the way, we finally understood that our main problem, > the one that was making our Pg hang forever, comes from > a deadlock problem. Same as Hannu's one. > There are no deadlock detection, indeed. Good DBAs, or > DBAs working with good coders, wil

Re: [HACKERS] I want tips for debugging deadlocks

2000-10-04 Thread Tom Lane
Hannu Krosing <[EMAIL PROTECTED]> writes: > I'm in a situation where I urgently need to debug PostgreSQL 7.0.2 > for deadlocks that it does not notice/timeout The most likely bet is that you are seeing deadlocks that involve a buffer spinlock (LockBuffer() in bufmgr.c) --- there's no timeout or

[HACKERS] I want tips for debugging deadlocks

2000-10-03 Thread Hannu Krosing
Hi, I'm in a situation where I urgently need to debug PostgreSQL 7.0.2 for deadlocks that it does not notice/timeout Where can I find info about running several concurrent backends under a debugger ? --- Hannu