On Oct 22 22:42, Sybille Ebert wrote:
I have created and installed my own test service. For this purpose, I've
used Java Service Wrapper, which is from OS perspective just a pure
32-bit console program like cygrunsrv. And it works flawlessly, there's
no delay at logoff :-/
It only has this
I can reproduce it, too. However, I can not reproduce it on Windows
Server 2008 x64 so it seems a problem of the NT 5.2 kernel alone.
I tried debugging and changed a couple of places in the DLL as well
as in cygrunsrv trying to track it down. The hang does not occur in
Cygwin code, afaics,
Maybe you need to call SetServiceStatus(SERVICE_STOPPED) or exit the
process or something? What happens when you use net stop to stop the
service? It stops reasonably fast, or not?
Stopping the service manually is always fast. As for your suggestion to
exit the process: it is not what we want.
On Oct 15 23:30, Sybille Ebert wrote:
The problem also appears in sshd service, eventhough it does not depend
on cygserver. I installed sshd using ssh-host-config and manually
stopped cygserver. And even with only sshd running, there was still a
long delay at logoff/shutdown!
Which shows
Maybe you need to call SetServiceStatus(SERVICE_STOPPED) or exit the process or
something?
What happens when you use net stop to stop the service? It stops reasonably
fast, or not?
- Jay
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports:
On Oct 2 11:59, Sybille Ebert wrote:
The problem also appears in sshd service, eventhough it does not depend
on cygserver. I installed sshd using ssh-host-config and manually
stopped cygserver. And even with only sshd running, there was still a
long delay at logoff/shutdown!
Which
The problem also appears in sshd service, eventhough it does not depend
on cygserver. I installed sshd using ssh-host-config and manually
stopped cygserver. And even with only sshd running, there was still a
long delay at logoff/shutdown!
Which shows that the delay isn't cygserver specific,
On Sep 30 05:38, Sybille Ebert wrote:
- the problem is specific to Windows 2003 64-bit, it does not appear in
Windows XP 32-bit
There's no special code in Cygwin which would handle logoff/shutdown
scenarios differently on x86 vs. x64 systems, though...
I thought so. A few
The problem also appears in sshd service, eventhough it does not depend
on cygserver. I installed sshd using ssh-host-config and manually
stopped cygserver. And even with only sshd running, there was still a
long delay at logoff/shutdown!
Which shows that the delay isn't cygserver specific,
On Sep 4 05:53, Sybille Ebert wrote:
I am running cygserver service on Windows 2003 x64 SP2 on dual-core. If
the service is running, there is a significant delay during log
off/shutdown (approx. 1-2 minutes). If cygserver service is stopped, the
logoff takes just 1-2 seconds.
I have
I am running cygserver service on Windows 2003 x64 SP2 on dual-core. If
the service is running, there is a significant delay during log
off/shutdown (approx. 1-2 minutes). If cygserver service is stopped, the
logoff takes just 1-2 seconds.
I have no other Cygwin services installed, and no
My best guess would be that cygserver receives some sort of event that
causes it to wait/deadlock. I would really appreciate if someone could
look into what could be going wrong.
I did some additional research. It seems that Windows in fact does send
CTRL_LOGOFF_EVENT to a running service when
I am running cygserver service on Windows 2003 x64 SP2 on dual-core. If
the service is running, there is a significant delay during log
off/shutdown (approx. 1-2 minutes). If cygserver service is stopped, the
logoff takes just 1-2 seconds.
I have no other Cygwin services installed, and no Cygwin
I am running cygserver service on Windows 2003 x64 SP2 on dual-core. If
the service is running, there is a significant delay during log
off/shutdown (approx. 1-2 minutes). If cygserver service is stopped, the
logoff takes just 1-2 seconds.
I have no other Cygwin services installed, and no
14 matches
Mail list logo