Re: Hanging queries on dual CPU windows
От | Jan de Visser |
---|---|
Тема | Re: Hanging queries on dual CPU windows |
Дата | |
Msg-id | 200603091615.47323.jdevisser@digitalfairway.com обсуждение исходный текст |
Ответ на | Re: Hanging queries on dual CPU windows (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-performance |
On Thursday 09 March 2006 15:10, Tom Lane wrote: > Jan de Visser <jdevisser@digitalfairway.com> writes: > > Furtermore, it does not happen on Linux machines, both single CPU and > > dual CPU, nor on single CPU windows machines. We can only reproduce on a > > dual CPU windows machine, and if we take one CPU out, it does not happen. > > ... > > Which showed me that several transactions where waiting for a particular > > row which was locked by another transaction. This transaction had no > > pending locks (so no deadlock), but just does not complete and hence > > never relinquishes the lock. > > Is the stuck transaction still consuming CPU time, or just stopped? CPU drops off. In fact, that's my main clue something's wrong ;-) > > Is it possible to get a stack trace from the stuck process? I dunno > if you've got anything gdb-equivalent under Windows, but that's the > first thing I'd be interested in ... I wouldn't know. I'm hardly a windows expert. Prefer not to touch the stuff, myself. Can do some research though... > > regards, tom lane jan -- -------------------------------------------------------------- Jan de Visser jdevisser@digitalfairway.com Baruk Khazad! Khazad ai-menu! --------------------------------------------------------------
В списке pgsql-performance по дате отправления: