Re: Hang investigation

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Hang investigation
Дата
Msg-id 20051230142346.GD15410@svana.org
обсуждение исходный текст
Ответ на Hang investigation  ("Ilja Golshtein" <ilejn@yandex.ru>)
Список pgsql-general
On Fri, Dec 30, 2005 at 12:02:59PM +0300, Ilja Golshtein wrote:
> Hello!
>
> I'm developing application uses PG as backend.
> A recent stress test found out a serious trouble. Briefly,
> libpq does not return control after COMMIT, while
> commit actually happened Ok.

Hmm, sounds like a race condition. Most important would be strace of
postmaster and client at time of hang. If you have gdb and have
compiled with debug, attaching to them both will pinpoint the exact
line of code both a stuck on. From there we should be able to provide
more advice.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: a few questions
Следующее
От: John DeSoi
Дата:
Сообщение: Re: Forum Software