| От | Oliver Jowett |
|---|---|
| Тема | Re: Thread hangs in VisibleBufferedInputStream.readMore |
| Дата | |
| Msg-id | 4A02CFC9.3070800@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Thread hangs in VisibleBufferedInputStream.readMore (Oliver Hitz <oliver@net-track.ch>) |
| Список | pgsql-jdbc |
Oliver Hitz wrote: > On 07 May 2009, Oliver Jowett wrote: >> No it isn't, go look at the thread dumps, his application is blocking on >> read not on write. > > The strange thing is that I didn't see anything at the backend. All > connections were idle at that time. If the application was hanging > because of a transaction lock, shouldn't I see this in pg_locks or > pg_stat_activity? > > Anyway, I have changed some transactions and re-arranged some of the > code. The application is running for about four days now without a hang, > but I'm not sure if the problem has really gone away. Yes, it seems quite strange .. Probably you would need to attach a debugger to the server process corresponding to the hung application thread and see what it was doing, but that might be tricky to arrange. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера