Re: Why has postmaster shutdown gotten so slow? - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: Why has postmaster shutdown gotten so slow?
Date
Msg-id 401FC4E3.5050807@Yahoo.com
Whole thread Raw
In response to Why has postmaster shutdown gotten so slow?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Why has postmaster shutdown gotten so slow?
List 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@Yahoo.com #



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: session IDs
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] log session end - again