| От | Thomas Markus |
|---|---|
| Тема | Re: infinite blocking statements in 8.2.3 |
| Дата | |
| Msg-id | 4639742C.7070902@proventis.net обсуждение исходный текст |
| Ответ на | infinite blocking statements in 8.2.3 (Thomas Markus <t.markus@proventis.net>) |
| Ответы |
Re: infinite blocking statements in 8.2.3
|
| Список | pgsql-admin |
thanks for your awnsers i cant repeat the problem after increasing autovacuum_naptime to 5min. a vacuumdb -f -a runs over night (and finished :) ) and now that blocking statement finished after some seconds. it seems autovacuum = on is not enough. Thomas Markus schrieb: > I'm running 8.2.3 on ubuntu 6.06 (2.6.15-26-server SMP i686) > > sometimes i have SELECTs that never ends. Normally I drop connections > by killing the connection process (kill <PID>). But these hanging > connections (which blocks other statements infinitly) cant be killed. > the only way is a pg_ctl -m immediate stop or a brutal kill -9 > what can i do to > - limit statement runtime (set hard timeout) > - remove these blocking connections without killing other connections > > Thomas >
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера