Re: BUG #3504: Some listening sessions never return from writing, problems ensue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Дата
Msg-id 3733.1186439776@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3504: Some listening sessions never return from writing, problems ensue  ("Peter Koczan" <pjkoczan@gmail.com>)
Ответы Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Список pgsql-bugs
"Peter Koczan" <pjkoczan@gmail.com> writes:
> So, it looks like the app polls for async notifies every second. Hopefully
> you can glean some insight from that.

My guess is that some condition causes that to stop happening.

One way to monitor this from outside is to use strace to watch the app.
According to the above you should see a recv() attempt on the libpq
socket every second.  I suspect that you won't see any more once the app
gets into the state where the recv-q is backing up.  Looking at what
happens around the time of the last recv() might give some clues.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: RE : RE : BUG #3519: Postgres takes the wrong query plan resulting in performance issues
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: RE : RE : BUG #3519: Postgres takes the wrong query plan resulting in performance issues