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
>>> 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
> 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 wan
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: http://cygwin.co
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/shut
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 cyg
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!
>
>> 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
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
>>> 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 ins
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.
> >
> 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 wh
> 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
13 matches
Mail list logo