pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: karthik.jcecs@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6664: Postgres server process does not come up in foreground and parent process is set to init ( PID 1 )
Date: Thu, 24 May 2012 07:50:42 +0000
Message-ID: <E1SXSok-00018E-Ga@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6664
Logged by:          Karthik Ananth
Email address:      karthik.jcecs@gmail.com
PostgreSQL version: 9.0.7
Operating system:   Freebsd 8.2,  Freebsd 7.2
Description:        

As per the documentation by default postgres server should run in
foreground. I am referring to this link -
http://www.postgresql.org/docs/9.0/static/server-start.html

But what I have observed is, it is not happening and the command returns
immediately.  Below is the transcript - 

c670e04:rkananth 16] /usr/local/bin/postgres --version 
postgres (PostgreSQL) 9.0.7

c670e04:rkananth 11] postgres -D /data/db/postgres
c670e04:rkananth 12] ps -A | grep post
65165  ??  Ss     0:00.01 /usr/local/bin/postgres
65167  ??  Ss     0:00.00 postgres: writer process    (postgres)
65168  ??  Ss     0:00.00 postgres: wal writer process    (postgres)
65169  ??  Ss     0:00.00 postgres: autovacuum launcher process   
(postgres)
65170  ??  Ss     0:00.00 postgres: stats collector process    (postgres)
65224   0  S+     0:00.00 grep post

c670e04:rkananth 14] ps -p 65165 -o ppid
 PPID
    1

c670e04:rkananth 15] ps 1
  PID  TT  STAT      TIME COMMAND
    1  ??  SLs    0:00.17 /sbin/init --

Further information:
Also found in   v8.3.7
Not found in    v7.4.2
( Same OS )

I would be happy to provide further information if required. 




view thread (6+ messages)  latest in thread

Message-ID: <E1SXSok-00018E-Ga@wrigleys.postgresql.org>
Permalink:  ../E1SXSok-00018E-Ga@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1SXSok-00018E-Ga@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: karthik.jcecs@gmail.com
  Subject: Re: BUG #6664: Postgres server process does not come up in foreground and parent process is set to init ( PID 1 )
  In-Reply-To: <E1SXSok-00018E-Ga@wrigleys.postgresql.org>
  References: <E1SXSok-00018E-Ga@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox