Re: Problem on AIX with current

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem on AIX with current
Дата
Msg-id 16417.1002169519@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem on AIX with current  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> When I recompiled with LOCK_DEBUG and trace_lwlocks = true, it *works*
> (and saw lots of lock debugging messages, of course). However if I
> turn trace_lwlocks to off, the backend stucks again.

Ugh ... ye classic Heisenbug ...

> Is there anything I can do?

Apparently the problem is timing-sensitive, which is hardly surprising
for a lock issue.  You might find that it occurs some of the time if
you repeat the test over and over.

> Note the machine has 4 processors. Is that related to?

Hard to tell at this point, but considering that no one else has
reported a problem so far, it does seem like multiple CPUs at least
help to make the failure more probable.  But it could just be a
portability problem.  Do you have another machine with identical OS
and fewer processors to try for comparison?

Andreas, have you tried CVS tip lately on AIX?  What's your results?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Unicode combining characters
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Unicode combining characters