Thread
-
Re: [GENERAL] postmaster respawning too fast
selkovjr@mcs.anl.gov — 1999-10-13T04:48:45Z
> * 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)
-
Re: [GENERAL] postmaster respawning too fast
Chairudin Sentosa Harjo <chai@prima.net.id> — 1999-10-13T06:33:04Z
"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