Re: [GENERAL] postmaster respawning too fast

From: "Gene Selkov, Jr(dot)" <selkovjr(at)mcs(dot)anl(dot)gov>
To: chai(at)prima(dot)net(dot)id, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] postmaster respawning too fast
Date: 1999-10-13 04:48:45
Message-ID: 199910130548.AAA00261@antares.mcs.anl.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> * 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)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adriaan Joubert 1999-10-13 05:21:40 Re: [GENERAL] stored procedure revisited
Previous Message Chairudin Sentosa Harjo 1999-10-13 04:09:45 postmaster respawning too fast