Re: Why has postmaster shutdown gotten so slow?

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why has postmaster shutdown gotten so slow?
Date: 2004-02-03 15:57:23
Message-ID: 401FC4E3.5050807@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> Shutdown of an idle postmaster used to take about two or three seconds
> (mostly due to the sync/sleep(2)/sync in md_sync). For the last couple
> of days it's taking more like a dozen seconds. I presume somebody broke
> something, but I'm unsure whether to pin the blame on bgwriter or
> Windows changes. Anyone care to fess up?

I guess it could well be the bgwriter, which when having nothing to do
at all is sleeping for 10 seconds. Not sure, will check.

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-02-03 16:12:03 Re: session IDs
Previous Message Peter Eisentraut 2004-02-03 15:47:59 Re: session IDs