Thread: shutdown problem & handle leaks in 7.1.2-1 & win2000

shutdown problem & handle leaks in 7.1.2-1 & win2000

From
"Dmitry Yurtaev"
Date:
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