Re: exit status 26

Поиск
Список
Период
Сортировка
От Dan Moschuk
Тема Re: exit status 26
Дата
Msg-id 20010112123457.B1730@spirit.jaded.net
обсуждение исходный текст
Ответ на Re: exit status 26  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: exit status 26
Список pgsql-general
| > Signal 26 on FreeBSD is SIGVTARLM.
|
| We don't ever set a virtual timer alarm, either.  Is it possible that
| you are running the postmaster with a ulimit-style limit on total
| process runtime?

No, I've tested this and postmaster is being started in an unlimited
enviornment.

The code that delivers the actual signal looks like this:

                if (CLKF_USERMODE(frame) &&
                    timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) &&
                    itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0)
                        psignal(p, SIGVTALRM);

So it is getting a virtual timer from somewhere.  A grep of the backend
directory revealed no setitimer() occurances, so I can confirm that it
isn't postmaster doing it.  And if the shells environment is unlimited,
which doesn't leave very many culprits left. :/

--
Man is a rational animal who always loses his temper when he is called
upon to act in accordance with the dictates of reason.
                -- Oscar Wilde

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: mnogosearch -- pgsql seem so slow, please help me find out why
Следующее
От: Tom Lane
Дата:
Сообщение: Re: exit status 26