Skip site navigation (1) Skip section navigation (2)

Re: Service reboot leaves

From: Fred Yankowski <fred(at)ontosys(dot)com>
To: "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk>
Cc: "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Service reboot leaves
Date: 2001-06-15 16:53:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
I just tried re-building postgres for cygwin, using patches only to
ignore SIGHUP and not my other service-management cruft.
Unfortunately, testing shows that this doesn't suffice to get postgres
to start up cleanly after NT restart when run under cygrunsrv.  The file is still left around.

My plan to create a patch for cygrunsrv that allows it to send a
signal to the managed service process when it (cygrunsrv) is notified
that NT is shutting down.

Note that someone else on the Cygwin email list reports occasional
problems where cygrunsrv completely fails to start after NT restart.
In their case they're using it for sshd, not postgres, but even so I'm
somewhat concerned that cygrunsrv may have some timing-related
initialization problem.

On Fri, Jun 15, 2001 at 08:53:33AM +0100, Henshall, Stuart - WCP wrote:
> Thanks for the info, do you have a patch for ignoring SIGHUP? If not I guess
> it'll be time to delve into the source :).

Fred Yankowski           fred(at)OntoSys(dot)com      tel: +1.630.879.1312
Principal Consultant       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

In response to


pgsql-cygwin by date

Next:From: Fred YankowskiDate: 2001-06-15 19:47:56
Subject: cygrunsrv patch for system shutdown handling
Previous:From: Jason TishlerDate: 2001-06-15 16:49:04
Subject: Cygwin contrib patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group