| От | Tom Lane |
|---|---|
| Тема | Re: AutoVacuum starvation from sinval messages |
| Дата | |
| Msg-id | 20832.1352413492@sss.pgh.pa.us обсуждение |
| Ответ на | Re: AutoVacuum starvation from sinval messages (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: AutoVacuum starvation from sinval messages
|
| Список | pgsql-hackers |
I wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
>> When the poll() gets EINTR by SIGUSR1 for the invalidation, it
>> restarts at the full timeout (60 seconds in this case) with no
>> accounting for the time already waited.
> Hmm. That seems like a problem, all right, but I don't believe the
> claim that it applies only to the poll() code path. On many platforms
> the select() path would have the same issue.
BTW, doesn't win32_latch.c have the identical problem? I don't see it
updating the timeout after a signal, either.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера