From: | Chairudin Sentosa Harjo <chai(at)prima(dot)net(dot)id> |
---|---|
To: | "Gene Selkov, Jr(dot)" <selkovjr(at)mcs(dot)anl(dot)gov> |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] postmaster respawning too fast |
Date: | 1999-10-13 06:33:04 |
Message-ID: | 380427A0.4265B9F8@prima.net.id |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | amy cheng | 1999-10-13 06:39:20 | Re: [GENERAL] stored procedure revisited |
Previous Message | Christopher A. Stewart | 1999-10-13 05:26:52 | [GENERAL] postmaster respawning too fast |