This is the mail archive of the
mailing list for the Cygwin project.
v1.3.12-2 shmctl(IPC_STAT) / postgres question
- From: Tony_Chao at putnam dot com
- To: cygwin at cygwin dot com
- Date: Mon, 16 Sep 2002 11:42:23 -0400
- Subject: v1.3.12-2 shmctl(IPC_STAT) / postgres question
I have postmaster install as an NT service through cygrunsrv.
Usually it shuts startsup and shutsdown fine.
But it seems that when the machine crashes, the service fails to start
it was unable to properly shutdown.
I originally thought this was a postgres issue with stale postmaster.pid
file, but the postgres folks
told me that even with a stale pid file, postmaster should start up because
it will then
perform more checking to see whether the shared memory is indeed in use.
So..I was wondering is shmctl(IPC_STAT) on cygwin behaving differently than
standard unix system? In particular, what error code does cygwin return if
such shared memory ID? Do the shared memory blocks indeed go away even
a machine crash+reboot?
Thanks for any help you can offer.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html