agora inbox for pgsql-general@postgresql.org  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: surabhi.ahuja <surabhi.ahuja@iiitb.ac.in>
Cc: pgsql-general@postgresql.org
Subject: Re: a few questions
Date: Fri, 30 Dec 2005 15:19:11 +0100
Message-ID: <20051230141911.GC15410@svana.org> (raw)
In-Reply-To: <967CFC4343BF2A4DAFACD026D33DC85118ECA4@jal.iiitb.ac.in>
References: <967CFC4343BF2A4DAFACD026D33DC85118ECA4@jal.iiitb.ac.in>

On Fri, Dec 30, 2005 at 06:21:28PM +0530, surabhi.ahuja wrote:
> I am working with PostgerSQL 8.0.0.
> where can i find the startup scripts for the same.

Well, it's been in contrib/strat-scripts since 8.0.0 so you should find
it there.

> One more thing,
> I could not understand this:
> number of processes is going to be at least 3+number of connections
>  
> do u mean that for each connection there is a "postmaster" process? and what are those 3 processes?
> actually the ppl who use the application often use kill -9 postmaster. in such a case the pid file still remains.

One postmaster, 2 for the stats collector and possibly 1 for the
autovacuum daemon. Plus one for each connection to the database.

People shouldn't use kill -9 on the postmaster, they should use the
normal signals, or just "pg_ctl stop". Or if you use a startup script,
/etc/init.d/postgresql start/stop.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

view thread (13+ messages)  latest in thread

Message-ID: <20051230141911.GC15410@svana.org>
Permalink:  ../20051230141911.GC15410@svana.org/
Also on:    postgresql.org/message-id/20051230141911.GC15410@svana.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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: kleptog@svana.org, surabhi.ahuja@iiitb.ac.in
  Subject: Re: a few questions
  In-Reply-To: <20051230141911.GC15410@svana.org>

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

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