| От | Len Walter |
|---|---|
| Тема | Disconnect sessions and session timeouts |
| Дата | |
| Msg-id | 25b9fbe9050731204010aaa276@mail.gmail.com обсуждение |
| Ответы |
Re: Disconnect sessions and session timeouts
|
| Список | pgsql-general |
Hi, I'm looking to solve a problem where a client application is leaving idle sessions open, eventually filling up the maximum connections and stopping anyone from connecting. It seems like there's no way to disconnect sessions after a given idle timeout. There is a statement timeout, but that won't terminate the session. Is there any way to disconnect a given session? In oracle you'd do something like "alter system kill session 'sid,serial#'". I've tried parsing the output of ps -efa to find out which postgres processes below to clients that should be disconnected, then sending them TERM or QUIT signals, but TERM has no effect and QUIT puts the whole database into recovery mode. Thanks in advance, Len -- Len Walter len.walter@gmail.com http://crookedtimbre.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера