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

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 (view raw, whole thread or download thread mbox)
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...


pgsql-cygwin by date

Next:From: Jason TishlerDate: 2001-06-15 16:49:04
Subject: Cygwin contrib patch
Previous:From: Rolf RolfsDate: 2001-06-15 16:09:22
Subject: Re: Service reboot leaves

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