| От | Stephen Robert Norris |
|---|---|
| Тема | Re: How to cripple a postgres server |
| Дата | |
| Msg-id | 1022647368.4690.31.camel@ws12 обсуждение исходный текст |
| Ответ на | How to cripple a postgres server (Stephen Robert Norris <srn@commsecure.com.au>) |
| Список | pgsql-general |
On Wed, 2002-05-29 at 13:55, Tom Lane wrote:
> Stephen Robert Norris <srn@commsecure.com.au> writes:
> > Not at all like the vacuum problem. Do you have any other tests I can
> > run? Other diagnostics that might help?
>
> This is a long shot, but ... does the behavior change if you remove the
> two lines
>
> if (signo != SIGALRM)
> act.sa_flags |= SA_RESTART;
>
> near the bottom of src/backend/libpq/pqsignal.c ? I am wondering if
> Linux gets unhappy if we try to do much in a signal handler. This
> looks to be the simplest alteration that might address such a problem.
>
> regards, tom lane
Maybe it does help. I've only seen the problem once now (just after
startup) rather than every few minutes... I'm still seeing lots of
processes in the ready queue every now and then, but they are doing more
sensible things.
I'll investigate some more and be more certain.
Stephen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера