Re: BUG #3504: Some listening sessions never return from writing, problems ensue
В списке pgsql-bugs по дате отправления:
| От | Peter Koczan |
|---|---|
| Тема | Re: BUG #3504: Some listening sessions never return from writing, problems ensue |
| Дата | |
| Msg-id | 4544e0330708271516k4e200a97hfaead1b12d37818d@mail.gmail.com обсуждение |
| Ответ на | Re: BUG #3504: Some listening sessions never return from writing, problems ensue (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Список | pgsql-bugs |
> Please share the ending with us, I'm really curious after following this > thread :). It turns out that it was part DBD::Pg and part our app (a big part). A plugin for the app creates a separate db handle which listens, but never does anything with the notifications. Apparently, the recv-q cleared whenever a request was made via this plugin (which is rare for most people who use this), but nothing was processed, so notifications would build up. If they're left running for that long, then they get into the bad state. We fixed our app to not have the plugin's db handle listen (it was pointless to have it listen anyway) and all seems well. While it may technically be a bug that a database handle will get into this state after ~800 unprocessed notifications, I'd say that's much more the fault of the application programmers. Anyway, thanks for all your help. Peter
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера