Re: [GENERAL] postmaster respawning too fast
От | Chairudin Sentosa Harjo |
---|---|
Тема | Re: [GENERAL] postmaster respawning too fast |
Дата | |
Msg-id | 380427A0.4265B9F8@prima.net.id обсуждение исходный текст |
Ответ на | Re: [GENERAL] postmaster respawning too fast ("Gene Selkov, Jr." <selkovjr@mcs.anl.gov>) |
Ответы |
Re: [GENERAL] postmaster respawning too fast
|
Список | pgsql-general |
"Gene Selkov, Jr." wrote: > > > * 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. Do you mean to replace with this command on /etc/inittab? (no /dev/null) pg:2345:respawn:/bin/su - postgres -c "/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >> /usr/local/pgsql/server.log 2>&1" What should I observe after I change to the above command line? Regards, Chai
В списке pgsql-general по дате отправления: