pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Alex Satrapa <alex@lintelsys.com.au>
Cc: Randolf Richardson, DevNet SysOp 29 <rr@8x.ca>
Cc: pgsql-general@postgresql.org
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date: Fri, 21 Nov 2003 15:07:01 -0800
Message-ID: <3FBE9A95.7060207@commandprompt.com> (raw)
In-Reply-To: <12539.1069429920@sss.pgh.pa.us>
References: <200311211542.hALFgGC21387@candle.pha.pa.us>
	<12539.1069429920@sss.pgh.pa.us>


>I believe 20 seconds is the standard number --- that's plenty for
>Postgres. 
>
Not always. More than once I have had a postgresql connection hung up
that will stop the main postmaster from dying on TERM. However the
machine will eventually kill it hard and thus could produce during restart.

Sincerely,

Joshua Drake




> (I know that it is about 20 seconds on OS X, because
>that's how much time tended to get added to the shutdown procedure
>back when OS X 10.0 had that shutdown bug that prevented the postmaster
>from forking a shutdown subprocess.)
>
>The fact that the number isn't readily configurable is indeed a PITA.
>In a previous lifetime I ran a data-collection application that needed
>more than 20 seconds to shut down, and so would not exit cleanly if
>you didn't have a shutdown script step that would wait for it.  But
>I don't see it as a problem for Postgres.
>
>			regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>  
>

-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com
Editor-N-Chief - PostgreSQl.Org - http://www.postgresql.org





view thread (111+ messages)  latest in thread

Message-ID: <3FBE9A95.7060207@commandprompt.com>
Permalink:  ../3FBE9A95.7060207@commandprompt.com/
Also on:    postgresql.org/message-id/3FBE9A95.7060207@commandprompt.com

 · 

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-general@postgresql.org
  Cc: jd@commandprompt.com, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, alex@lintelsys.com.au, rr@8x.ca
  Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
  In-Reply-To: <3FBE9A95.7060207@commandprompt.com>
  References: <200311211542.hALFgGC21387@candle.pha.pa.us> <12539.1069429920@sss.pgh.pa.us> <3FBE9A95.7060207@commandprompt.com>

* 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