shutdown problem & handle leaks in 7.1.2-1 & win2000

From: "Dmitry Yurtaev" <dmitry(at)channel4(dot)ru>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: shutdown problem & handle leaks in 7.1.2-1 & win2000
Date: 2001-06-15 16:21:30
Message-ID: 005901c0f5b7$3d250330$0107a8c0@SULACO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-06-15 16:49:04 Cygwin contrib patch
Previous Message Rolf Rolfs 2001-06-15 16:09:22 Re: Service reboot leaves postmaster.pid