Re: [GENERAL] postmaster respawning too fast

Поиск
Список
Период
Сортировка
Искать
От
Gene Selkov, Jr.
Тема
Re: [GENERAL] postmaster respawning too fast
Дата
Msg-id
199910130548.AAA00261@antares.mcs.anl.gov
Ответ на
postmaster respawning too fast (Chairudin Sentosa Harjo)
Список
Дерево обсуждения
pl/pgsql and backend crashes Paul Kelly <pkelly@virtual.org.uk>
Re: [GENERAL] pl/pgsql and backend crashes "Aaron J. Seigo" <aaron@gtv.ca>
> * In RedHat Linux edit file /etc/inittab to add the floowing as a single
> line:
> pg:2345:respawn:/bin/su - postgres -c "/usr/local/pgsql/bin/postmaster"
> -D /usr/local/pgsql/data >> /usr/local/pgsql/server.log 2>&1 <
> /dev/null"

> I see a lot of this messages on my /var/log/messages:
> 
> Oct 9 00:01:16 prosolv init: Id "pg" respawning too fast: disabled for 5
> minutes
> I have about 1271 messages like this until today, 13 Oct 1999.
> It seems to happen every 5 minutes.

5 minutes is the polling interval of init; "too fast" means it dies
before the next checkpoint, i.e., within less than 5 minutes from the
start.

> What is happening?
> Could someone tell me what have I done wrong?

The only way to tell is to run the entire command line from inittab
(you must su root to do it) without redirecting to /dev/null.

--Gene

(in case you didn't know, kill -HUP 1 restarts init and causes it to
re-read inittab -- which is useful if you made changes there)
В списке pgsql-general по дате отправления
От: Christopher A. Stewart
Дата:
От: Chairudin Sentosa Harjo
Дата:
FAQ