From: krzbia@interia.pl
To: pgsql-bugs@postgresql.org
Subject: BUG #8079: pg_ctl is killed by windows service controller due to "Timed out waiting for server startup" event
Date: Wed, 17 Apr 2013 09:27:46 +0000
Message-ID: <E1USOeY-00024n-1Y@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8079
Logged by: Christopher Bialas
Email address: krzbia@interia.pl
PostgreSQL version: 9.2.4
Operating system: Microsoft Windows 2008R2 Standard server
Description:
With very high load of the server during startup (e.g. simultaneous logon
to local console) pg_ctl is being killed by windows service controller as it
does not respond on time. I've seen it with process explorer:
1. pg_ctl starts, then
2. postgres processing tasks start
3. pg_ctl is killed leaving postgres workers running.
As a result windows service is totally confused as service is dead, and it
cannot be started again as it finds out that postgres is already running.
The following is the excerpt from windows log:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";
- <System>
<Provider Name="PostgreSQL" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-04-17T09:04:31.000000000Z" />
<EventRecordID>227797</EventRecordID>
<Channel>Application</Channel>
<Computer>mypc</Computer>
<Security />
</System>
- <EventData>
<Data>Waiting for server startup...</Data>
</EventData>
</Event>
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";
- <System>
<Provider Name="PostgreSQL" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-04-17T09:04:36.000000000Z" />
<EventRecordID>227801</EventRecordID>
<Channel>Application</Channel>
<Computer>mypc</Computer>
<Security />
</System>
- <EventData>
<Data>Timed out waiting for server startup</Data>
</EventData>
</Event>
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: krzbia@interia.pl
Subject: Re: BUG #8079: pg_ctl is killed by windows service controller due to "Timed out waiting for server startup" event
In-Reply-To: <E1USOeY-00024n-1Y@wrigleys.postgresql.org>
References: <E1USOeY-00024n-1Y@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