Re: How to cripple a postgres server

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Stephen Robert Norris
Дата:
Сообщение: Re: How to cripple a postgres server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to cripple a postgres server