Re: BUG #3504: Some listening sessions never return from writing, problems ensue
В списке pgsql-bugs по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера