public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: L A Walsh <cygwin@tlinx.org>
To: cygwin@cygwin.com
Subject: Re: SSHD Service shuts down after a while after latest library updates
Date: Sun, 12 May 2019 14:30:00 -0000	[thread overview]
Message-ID: <5CD82E0A.7010002@tlinx.org> (raw)
In-Reply-To: <110c51d9-507c-afbb-df37-bc48b7d847c3@gmx.de>

On 5/12/2019 6:35 AM, Enrico.Bertram wrote:
> \
>
> The service is configured to start automatically and does so on each reboot.
> The event viewer does not show any event (for example the "stopped" on
> normal shutdowns) - the service is just in shut down state every now and
> then and I have to manually start it again.
>   
This has been a feature of Windows since win98.  Not officially, mind
you, but any scheduled task in windows would eventually become
unscheduled and stop running with out any notification.

The only way I found to get round this is by having a job login from
a reliable server (like linux) multiple times/hour with a control
login that attempts to remain logged in so that problems can be
solved by the already logged in process.

For the first time since Win98, I'm starting to get error reports when
there are problems as well as notifications if there was a problem
resetting my basic state.

I may have to extend my monitoring and corrections since some are more
involved,
but sadly it was the only way I found out how to get prompt errors when
things stopped working because Windows philosophy is to not report
things in hope that the problem or need for the report will go away.

Part of this stems from, for example in tools to regulate resources
given to programs, only servers are allowed to do so, with the
regulating software not running on Windows.

There are some unsatisfactory third party options (Process Lasso) that
do things
like keep processes running or restart if they die  -- things that the
Windows service manager claims to do, but not always work.

Windows on my machine hasn't been able to start the system log function
for about 2-3 years -- with MS having no clue and only recommendation
being to upgrade to win10.  I have a few problem the MS was unable to
solve for more than 3 years with similar outcomes.  Very often the
problems aren't fixed, but appear
to be so because some do not trigger frequently.

So if you want reliable debug and monitoring, use another OS like linux to
monitor the flakey windows.

(my 2 cents)....
Linda






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2019-05-12 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-12 13:35 Enrico.Bertram
2019-05-12 14:30 ` L A Walsh [this message]
2019-05-13 14:47   ` Bill Stewart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5CD82E0A.7010002@tlinx.org \
    --to=cygwin@tlinx.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).