shutdown problem & handle leaks in 7.1.2-1 & win2000 - Mailing list pgsql-cygwin

From Dmitry Yurtaev
Subject shutdown problem & handle leaks in 7.1.2-1 & win2000
Date
Msg-id 005901c0f5b7$3d250330$0107a8c0@SULACO
Whole thread Raw
List pgsql-cygwin
hi! i'm running postgresql-7.1.2-1 (binary distributive) on win2000 and
cygwin 1.3.2-1.

postmater is started under cygrunsrv. starting/stopping postmater from the
service control manager works fine. but during shutdown it looks like that
OS kills the postmaster before cygrunsrv gets SERVICE_CONTROL_STOP from SCM.
so it leaves pid file and won't start netx time. if i right, what can be
done (besides rewriting posmaster as a service)?

i also noticed, that backend process leaves _at least_ one open handle after
each request. under heavy load Handle count in Task Manager quickly goes up.
i don't know how to find out what those handles are...

/Dmitry


pgsql-cygwin by date:

Previous
From: Rolf Rolfs
Date:
Subject: Re: Service reboot leaves postmaster.pid
Next
From: Jason Tishler
Date:
Subject: Cygwin contrib patch