Re: cygserver 1.5.25-15 slows down logoff

2008-10-23 Thread Corinna Vinschen
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

Re: cygserver 1.5.25-15 slows down logoff

2008-10-22 Thread Sybille Ebert
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,

Re: cygserver 1.5.25-15 slows down logoff

2008-10-18 Thread Sybille Ebert
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.

Re: cygserver 1.5.25-15 slows down logoff

2008-10-17 Thread Corinna Vinschen
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

RE: cygserver 1.5.25-15 slows down logoff

2008-10-17 Thread Jay
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:

Re: cygserver 1.5.25-15 slows down logoff

2008-10-15 Thread Corinna Vinschen
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

Re: cygserver 1.5.25-15 slows down logoff

2008-10-15 Thread Sybille Ebert
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,

Re: cygserver 1.5.25-15 slows down logoff

2008-10-02 Thread Corinna Vinschen
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

Re: cygserver 1.5.25-15 slows down logoff

2008-10-02 Thread Sybille Ebert
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,

Re: cygserver 1.5.25-15 slows down logoff

2008-09-29 Thread Corinna Vinschen
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

Re: cygserver 1.5.25-15 slows down logoff

2008-09-29 Thread Sybille Ebert
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

Re: cygserver 1.5.25-15 slows down logoff

2008-09-16 Thread Sybille Ebert
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

Re: cygserver 1.5.25-15 slows down logoff

2008-09-03 Thread Sybille Ebert
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